wok-next annotate slitaz-configs-base/receipt @ rev 15794
Up: slitaz-configs (5.2.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jan 19 13:35:48 2014 +0100 (2014-01-19) |
parents | 34213cec0340 |
children | f20bb2aafa21 |
rev | line source |
---|---|
pascal@7805 | 1 # SliTaz package receipt. |
pascal@7805 | 2 |
pascal@7805 | 3 PACKAGE="slitaz-configs-base" |
pankso@15794 | 4 VERSION="5.2.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@15021 | 8 LICENSE="GPL3" |
al@14908 | 9 WEB_SITE="http://www.slitaz.org/" |
gokhlayeh@7907 | 10 SOURCE="slitaz-configs" |
gokhlayeh@7907 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@12260 | 12 WGET_URL="http://hg.slitaz.org/slitaz-configs/archive/$VERSION.tar.gz" |
pascal@7805 | 13 |
pankso@12411 | 14 DEPENDS="tazlito tazpkg" |
pankso@12411 | 15 |
pascal@7805 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7805 | 17 genpkg_rules() |
al@14908 | 18 { |
pascal@7805 | 19 # Copy rootfs files from the stuff and set permissions. |
al@14908 | 20 mkdir -p \ |
al@14908 | 21 $fs/etc \ |
al@14908 | 22 $fs/boot \ |
al@14908 | 23 $fs/usr/share \ |
al@14908 | 24 $fs/etc/skel/Music \ |
al@14908 | 25 $fs/etc/skel/Documents |
pankso@9505 | 26 cp -a $src/rootfs/boot $fs |
pascal@7805 | 27 cp -a $src/rootfs/etc/skel $fs/etc |
pascal@7805 | 28 cp -a $src/rootfs/etc/X11 $fs/etc |
al@14908 | 29 |
al@14908 | 30 for i in images pixmaps themes webhome; do |
pankso@12411 | 31 cp -r $src/rootfs/usr/share/$i $fs/usr/share |
pankso@12411 | 32 done |
al@14908 | 33 |
pascal@7805 | 34 cp -a $src/rootfs/root $fs |
pascal@7805 | 35 chown -R root.root $fs |
pascal@7805 | 36 chmod 0750 $fs/root |
pascal@7805 | 37 } |