wok annotate slitaz-configs-base/receipt @ rev 12150
postfixadmin: improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Mar 15 00:10:41 2012 +0100 (2012-03-15) |
parents | 2109013793e8 |
children | 6e84705cbe9e |
rev | line source |
---|---|
pascal@7805 | 1 # SliTaz package receipt. |
pascal@7805 | 2 |
pascal@7805 | 3 PACKAGE="slitaz-configs-base" |
pankso@12128 | 4 VERSION="4.8.2" |
pascal@7805 | 5 CATEGORY="base-system" |
pascal@7805 | 6 SHORT_DESC="SliTaz config files for text based systems." |
pascal@7805 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@7805 | 8 DEPENDS="tazlito tazpkg" |
gokhlayeh@7907 | 9 SOURCE="slitaz-configs" |
gokhlayeh@7907 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@7805 | 11 WEB_SITE="http://www.slitaz.org/" |
gokhlayeh@7907 | 12 WGET_URL="http://mirror.slitaz.org/sources/configs/$TARBALL" |
pascal@7805 | 13 |
pascal@7805 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7805 | 15 genpkg_rules() |
pascal@7805 | 16 { |
pascal@7805 | 17 # Copy rootfs files from the stuff and set permissions. |
pankso@9505 | 18 mkdir -p $fs/etc $fs/boot |
pankso@9505 | 19 cp -a $src/rootfs/boot $fs |
pascal@7805 | 20 cp -a $src/rootfs/etc/skel $fs/etc |
pascal@7805 | 21 cp -a $src/rootfs/etc/X11 $fs/etc |
pankso@9617 | 22 mkdir -p \ |
pankso@9617 | 23 $fs/etc/skel/Music \ |
pankso@9617 | 24 $fs/etc/skel/Documents |
pascal@7805 | 25 cp -a $src/rootfs/usr $fs |
pascal@7805 | 26 cp -a $src/rootfs/root $fs |
pascal@7805 | 27 chown -R root.root $fs |
pascal@7805 | 28 chmod 0750 $fs/root |
pascal@7805 | 29 } |