[Lunar-commits] CVS: moonbase/x11-apps/xcdroast BUILD, 1.4, 1.5
DETAILS, 1.6, 1.7
Auke Kok
sofar at lunar-linux.org
Tue Sep 14 11:56:34 UTC 2004
please follow me here how to do this a bit better:
>+ cp $SOURCE_CACHE/$SOURCE2 /usr/lib/xcdroast-0.98/bin/cdrecord.prodvd &&
>+ chmod 755 /usr/lib/xcdroast-0.98/bin/cdrecord.prodvd
>
better is:
1) to use :
# always mkdir -p as much as possible!
mkdir -p /usr/lib/xcdroast-0.98/bin/
# use install to force cp with specific modes stripping set(gu)id bits
as well
install -m0755 $SOURCE_CACHE/$SOURCE2 /usr/lib/xcdroast-0.98/bin/
2) not to use 'xcdroast-0.98' but rather something like
'$MODULE-$VERSION' or in any way avoiding to use version numbers at all
in BUILD. If you have to you can declare 'MAJOR_VERSION=0.98' in DETAILS
as a convenience
sofar
More information about the Lunar-dev
mailing list