wok-next view slitaz-configs-base/receipt @ rev 13251

usb-modeswitch: add datas (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 14 15:12:39 2012 +0200 (2012-08-14)
parents acfbd6b623b6
children b6fe0cfb6a7b
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs-base"
4 VERSION="5.1"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz config files for text based systems."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="slitaz-configs"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://hg.slitaz.org/slitaz-configs/archive/$VERSION.tar.gz"
13 DEPENDS="tazlito tazpkg"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 # Copy rootfs files from the stuff and set permissions.
19 mkdir -p $fs/etc $fs/boot $fs/usr/share
20 cp -a $src/rootfs/boot $fs
21 cp -a $src/rootfs/etc/skel $fs/etc
22 cp -a $src/rootfs/etc/X11 $fs/etc
23 mkdir -p \
24 $fs/etc/skel/Music \
25 $fs/etc/skel/Documents
26 for i in images pixmaps themes webhome
27 do
28 cp -r $src/rootfs/usr/share/$i $fs/usr/share
29 done
30 cp -a $src/rootfs/root $fs
31 chown -R root.root $fs
32 chmod 0750 $fs/root
33 }