wok-current view slitaz-tools/receipt @ rev 14794

catfish: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 08 20:42:48 2013 +0000 (2013-07-08)
parents 8a3d7e2b6adb
children 727f65a6191b
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="5.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="SliTaz tools provide installer and utils usable on termnial."
7 MAINTAINER="pankso@slitaz.org"
8 SUGGESTED="slitaz-tools-boxes"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://hg.slitaz.org/slitaz-tools/archive/$VERSION.tar.gz"
12 HOST_ARCH="i486 arm"
14 DEPENDS="slitaz-boot-scripts dialog gettext-base slitaz-configs-base"
15 BUILD_DEPENDS="gettext"
17 # Handle multiarch compilation.
18 case "$ARCH" in
19 arm)
20 DEPENDS="slitaz-boot-scripts dialog gettext-base"
21 BUILD_DEPENDS="" ;;
22 esac
24 # Saved config file by package manager
25 CONFIG_FILES="
26 /etc/TZ
27 /etc/keymap.conf
28 /etc/locale.conf
29 /etc/firewall.conf"
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 cd $src
35 make && make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs
42 cp -a $install/* $fs
43 chmod 0644 $fs/usr/share/locale/*/*/*.mo
44 chown -R root.root $fs
45 }