wok annotate slitaz-tools/receipt @ rev 13629
Up: slitaz-tools (5.1) - Bunch of new stuff and fixes from the contributors community
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Nov 14 21:48:16 2012 +0100 (2012-11-14) |
parents | f6382af837a6 |
children | 68b1fa2931b0 |
rev | line source |
---|---|
pankso@11 | 1 # SliTaz package receipt. |
pankso@11 | 2 |
pankso@11 | 3 PACKAGE="slitaz-tools" |
pankso@13629 | 4 VERSION="5.1" |
pankso@194 | 5 CATEGORY="system-tools" |
pankso@2094 | 6 SHORT_DESC="SliTaz tools provide installer and utils usable on termnial." |
pankso@11 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2094 | 8 SUGGESTED="slitaz-tools-boxes" |
gokhlayeh@8012 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@11 | 10 WEB_SITE="http://www.slitaz.org/" |
gokhlayeh@8012 | 11 WGET_URL="http://mirror.slitaz.org/sources/tools/$TARBALL" |
pankso@12882 | 12 HOST_ARCH="i486 arm" |
pankso@12882 | 13 |
pankso@12882 | 14 DEPENDS="slitaz-boot-scripts dialog gettext-base slitaz-configs-base" |
pankso@12882 | 15 BUILD_DEPENDS="gettext" |
pankso@12882 | 16 |
pankso@12882 | 17 # Handle multiarch compilation. |
pankso@12882 | 18 case "$ARCH" in |
pankso@12882 | 19 arm) |
pankso@12882 | 20 DEPENDS="slitaz-boot-scripts dialog gettext-base" |
pankso@12882 | 21 BUILD_DEPENDS="" ;; |
pankso@12882 | 22 esac |
pankso@12882 | 23 |
pankso@12882 | 24 # Saved config file by package manager |
pascal@1212 | 25 CONFIG_FILES=" |
pascal@1212 | 26 /etc/TZ |
pascal@1212 | 27 /etc/keymap.conf |
pascal@1212 | 28 /etc/locale.conf |
pankso@2889 | 29 /etc/firewall.conf |
pankso@2889 | 30 /etc/slitaz/applications.conf" |
pankso@11 | 31 |
pankso@5126 | 32 # Rules to configure and make the package. |
pankso@5126 | 33 compile_rules() |
pankso@5126 | 34 { |
pankso@5126 | 35 cd $src |
pankso@13629 | 36 # Fix for 5.1 |
pankso@13629 | 37 sed -i s'/sv//' Makefile |
pankso@10789 | 38 make && make DESTDIR=$DESTDIR install |
pankso@5126 | 39 } |
pankso@5126 | 40 |
pankso@11 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11 | 42 genpkg_rules() |
pankso@11 | 43 { |
pankso@10789 | 44 mkdir -p $fs |
pankso@10789 | 45 cp -a $install/* $fs |
pankso@10859 | 46 chmod 0644 $fs/usr/share/locale/*/*/*.mo |
pankso@401 | 47 chown -R root.root $fs |
pankso@11 | 48 } |