wok-current annotate slitaz-tools/receipt @ rev 25714
fix plugins path on abiword receipt
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 11:38:57 2024 +0000 (7 months ago) |
parents | db9d9cb3c164 |
children | 5926178cd6fa |
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 { |
shann@25634 | 36 # Patch for sakura 3.x |
shann@25634 | 37 patch -p1 < $stuff/sakura-workaround.patch |
shann@25634 | 38 |
pankso@16442 | 39 mkdir -p $DESTDIR/usr/share |
al@14803 | 40 make && make DESTDIR=$DESTDIR install |
pankso@5126 | 41 } |
pankso@5126 | 42 |
pankso@11 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11 | 44 genpkg_rules() |
pankso@11 | 45 { |
pankso@10789 | 46 mkdir -p $fs |
pankso@10789 | 47 cp -a $install/* $fs |
pankso@10859 | 48 chmod 0644 $fs/usr/share/locale/*/*/*.mo |
pankso@401 | 49 chown -R root.root $fs |
pankso@11 | 50 } |