wok annotate slitaz-configs-base/receipt @ rev 14736

ntp: Up (4.2.6p5)
author Richard Dunbar <mojo@slitaz.org>
date Thu Jun 13 18:12:27 2013 +0000 (2013-06-13)
parents 7fed8c0a235d
children 874b0d62ff7e
rev   line source
pascal@7805 1 # SliTaz package receipt.
pascal@7805 2
pascal@7805 3 PACKAGE="slitaz-configs-base"
erjo@13888 4 VERSION="5.1.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"
gokhlayeh@7907 8 SOURCE="slitaz-configs"
gokhlayeh@7907 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@7805 10 WEB_SITE="http://www.slitaz.org/"
slaxemulator@12260 11 WGET_URL="http://hg.slitaz.org/slitaz-configs/archive/$VERSION.tar.gz"
pascal@7805 12
pankso@12411 13 DEPENDS="tazlito tazpkg"
pankso@12411 14
pascal@7805 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7805 16 genpkg_rules()
pascal@7805 17 {
pascal@7805 18 # Copy rootfs files from the stuff and set permissions.
pankso@12411 19 mkdir -p $fs/etc $fs/boot $fs/usr/share
pankso@9505 20 cp -a $src/rootfs/boot $fs
pascal@7805 21 cp -a $src/rootfs/etc/skel $fs/etc
pascal@7805 22 cp -a $src/rootfs/etc/X11 $fs/etc
pankso@9617 23 mkdir -p \
pankso@9617 24 $fs/etc/skel/Music \
pankso@9617 25 $fs/etc/skel/Documents
pankso@12411 26 for i in images pixmaps themes webhome
pankso@12411 27 do
pankso@12411 28 cp -r $src/rootfs/usr/share/$i $fs/usr/share
pankso@12411 29 done
pascal@7805 30 cp -a $src/rootfs/root $fs
pascal@7805 31 chown -R root.root $fs
pascal@7805 32 chmod 0750 $fs/root
pascal@7805 33 }