wok-6.x annotate slitaz-configs-base/receipt @ rev 13360

Add redshift
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 12 10:58:59 2012 +0200 (2012-09-12)
parents acfbd6b623b6
children b6fe0cfb6a7b
rev   line source
pascal@7805 1 # SliTaz package receipt.
pascal@7805 2
pascal@7805 3 PACKAGE="slitaz-configs-base"
pankso@12466 4 VERSION="5.1"
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 }