PATCH_LIST="" FILE_LIST= SRC_FETCH_METHOD="http" SRC_FETCH_PATH="http://git.formilux.org/?p=dist/src/init-scripts.git;a=snapshot;h=v$PKGVER;sf=tgz" FILE_LIST=.flxfiles FLXARCH=noarch MAKEDEPENDS= function do_compile { : } function do_prepack { cp -a --parents $(cat $FILE_LIST) $ROOTDIR/ chown -R root:adm $ROOTDIR/ chmod -R o-w,ug-ws $ROOTDIR/ # Some scripts need to be world-readable because some of them are used # by other scripts or applications to get shared parameters, or by # non-root monitors which use them to check a service status. set_default_perm $ROOTDIR chmod -R ug+rx $ROOTDIR/sbin/ chmod o+rx $ROOTDIR/sbin/service chmod 740 $ROOTDIR/.preinit $ROOTDIR/etc/startup.rc # just in case it would not exist mkdir -p $PKGDIR/compiled } function do_strip { : } function do_tar_src { git repo-config tar.umask 022 git archive --format=tar --prefix="$PKGRADIX-$PKGVER/" HEAD | gzip -c9 > $PKGRADIX-$PKGVER.tgz }