wok-6.x annotate slitaz-configs-base/receipt @ rev 9505
Up slitaz-configs (4.3)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 06 04:42:39 2011 +0200 (2011-04-06) |
parents | 9867bb14c367 |
children | 73551a09919b |
rev | line source |
---|---|
pascal@7805 | 1 # SliTaz package receipt. |
pascal@7805 | 2 |
pascal@7805 | 3 PACKAGE="slitaz-configs-base" |
pankso@9505 | 4 VERSION="4.3" |
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 |
pascal@7805 | 22 mkdir $fs/etc/skel/Music $fs/etc/skel/Documents |
pascal@7805 | 23 cp -a $src/rootfs/usr $fs |
pascal@7805 | 24 cp -a $src/rootfs/root $fs |
pascal@7805 | 25 chown -R root.root $fs |
pascal@7805 | 26 chmod 0750 $fs/root |
pascal@7805 | 27 } |