wok-next view slitaz-tools/receipt @ rev 13714
Up sqlite (3.7.15.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 19 15:07:35 2012 +0100 (2012-12-19) |
parents | 717938b0ed14 |
children | 57ea159dc95e |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="5.1"
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://mirror.slitaz.org/sources/tools/$TARBALL"
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 # Fix for 5.1
36 sed -i s'/sv//' Makefile
37 make && make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs
44 cp -a $install/* $fs
45 chmod 0644 $fs/usr/share/locale/*/*/*.mo
46 chown -R root.root $fs
47 }