wok annotate slitaz-tools/receipt @ rev 24378
blender: added build dependency libboost-locale-dev
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 06 09:51:43 2022 +0100 (2022-02-06) |
parents | 7e911016a644 |
children |
rev | line source |
---|---|
pankso@11 | 1 # SliTaz package receipt. |
pankso@11 | 2 |
pankso@11 | 3 PACKAGE="slitaz-tools" |
pascal@24131 | 4 VERSION="1037" |
pankso@194 | 5 CATEGORY="system-tools" |
psychomaniak@17176 | 6 SHORT_DESC="SliTaz tools provide installer and utils usable on terminal." |
pankso@11 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15021 | 8 LICENSE="GPL3" |
al@14803 | 9 WEB_SITE="http://www.slitaz.org/" |
psychomaniak@17177 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
psychomaniak@17177 | 11 WGET_URL="http://hg.slitaz.org/slitaz-tools/archive/$VERSION.tar.bz2" |
pankso@12882 | 12 HOST_ARCH="i486 arm" |
pankso@12882 | 13 |
al@14803 | 14 SUGGESTED="slitaz-tools-boxes" |
pankso@12882 | 15 DEPENDS="slitaz-boot-scripts dialog gettext-base slitaz-configs-base" |
pankso@12882 | 16 BUILD_DEPENDS="gettext" |
al@19617 | 17 SIBLINGS="slitaz-tools-boxes tazdrop" |
pankso@12882 | 18 |
pankso@12882 | 19 # Saved config file by package manager |
pascal@1212 | 20 CONFIG_FILES=" |
pascal@1212 | 21 /etc/TZ |
pascal@1212 | 22 /etc/keymap.conf |
pascal@1212 | 23 /etc/locale.conf |
mojo@21990 | 24 /etc/slitaz/firewall.conf" |
pankso@11 | 25 |
pascal@24069 | 26 current_version() |
pascal@24069 | 27 { |
pascal@24069 | 28 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ |
pascal@24069 | 29 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ |
pascal@24069 | 30 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' |
pascal@24069 | 31 } |
pascal@24069 | 32 |
pankso@5126 | 33 # Rules to configure and make the package. |
pankso@5126 | 34 compile_rules() |
pankso@5126 | 35 { |
pankso@16442 | 36 mkdir -p $DESTDIR/usr/share |
al@14803 | 37 make && make DESTDIR=$DESTDIR install |
pankso@5126 | 38 } |
pankso@5126 | 39 |
pankso@11 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11 | 41 genpkg_rules() |
pankso@11 | 42 { |
pankso@10789 | 43 mkdir -p $fs |
pankso@10789 | 44 cp -a $install/* $fs |
pankso@10859 | 45 chmod 0644 $fs/usr/share/locale/*/*/*.mo |
pankso@401 | 46 chown -R root.root $fs |
pankso@11 | 47 } |