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

ARM: add more basic Xorg pkgs and improve jwm receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 15 19:56:28 2014 +0100 (2014-03-15)
parents 1e20660220da
children 6ebbb23fa7c2
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs-base"
4 VERSION="5.2.2"
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
29 mkdir -p $fs/usr/share
30 cp -a $src/rootfs/usr/bin $fs/usr
31 cp -a $src/rootfs/usr/share/webhome $fs/usr/share ;;
32 *)
33 mkdir -p \
34 $fs/etc \
35 $fs/boot \
36 $fs/usr/share \
37 $fs/etc/skel/Music \
38 $fs/etc/skel/Documents
39 cp -a $src/rootfs/boot $fs
40 cp -a $src/rootfs/etc/skel $fs/etc
41 cp -a $src/rootfs/etc/X11 $fs/etc
43 for i in images pixmaps themes webhome; do
44 cp -r $src/rootfs/usr/share/$i $fs/usr/share
45 done ;;
46 esac
48 cp -a $src/rootfs/root $fs
49 chown -R root.root $fs
50 chmod 0750 $fs/root
51 }