wok-current view slitaz-configs-base/receipt @ rev 16345

Up: slitaz-configs (5.3) With new Slitaz Tiny Screen desktop files and tools
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 12 20:04:10 2014 +0200 (2014-04-12)
parents 70a0e8ec8955
children 1100bf6b113a
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs-base"
4 VERSION="5.3"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz config files for text based systems."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 SOURCE="slitaz-configs"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="http://hg.slitaz.org/slitaz-configs/archive/$VERSION.tar.gz"
13 HOST_ARCH="i486 arm"
15 DEPENDS="tazlito tazpkg"
17 # Handle SliTaz arch
18 case "$SLITAZ_ARCH" in
19 arm*) DEPENDS="" ;;
20 esac
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 # Copy rootfs files and set permissions.
26 case "$ARCH" in
27 arm*)
28 # Most ARM configs are in: slitaz-arm repo but Openbox, webhome
29 # are common to all arch.
30 mkdir -p $fs/usr/share $fs/etc
31 cp -a $src/rootfs/usr/bin $fs/usr
32 cp -a $src/rootfs/usr/share/webhome $fs/usr/share
33 cp -a $src/rootfs/usr/share/applications $fs/usr/share
34 cp -a $src/rootfs/usr/share/pixmaps $fs/usr/share
35 cp -a $src/rootfs/usr/share/themes $fs/usr/share
36 cp -a $src/rootfs/usr/share/slitaz $fs/usr/share
37 cp -a $src/rootfs/etc/lxpanel $fs/etc ;;
38 *)
39 mkdir -p \
40 $fs/etc \
41 $fs/boot \
42 $fs/usr/share \
43 $fs/etc/skel/Music \
44 $fs/etc/skel/Documents
45 cp -a $src/rootfs/boot $fs
46 cp -a $src/rootfs/etc/skel $fs/etc
47 cp -a $src/rootfs/etc/X11 $fs/etc
49 for i in images pixmaps themes webhome; do
50 cp -r $src/rootfs/usr/share/$i $fs/usr/share
51 done ;;
52 esac
54 cp -a $src/rootfs/root $fs
55 chown -R root.root $fs
56 chmod 0750 $fs/root
57 }