wok annotate wv/receipt @ rev 25112
updated patchelf (0.10 -> 0.14.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 25 15:14:46 2022 +0100 (2022-06-25) |
parents | ae303dd64237 |
children | f2b4a9eb8bdd |
rev | line source |
---|---|
pankso@572 | 1 # SliTaz package receipt. |
pankso@572 | 2 |
pankso@572 | 3 PACKAGE="wv" |
psychomaniak@17434 | 4 VERSION="1.2.9" |
pankso@572 | 5 CATEGORY="x-window" |
pankso@572 | 6 SHORT_DESC="MS document manipulation library." |
pankso@572 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pankso@572 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@572 | 10 WEB_SITE="http://www.abisource.com/projects/" |
pankso@572 | 11 WGET_URL="http://www.abisource.com/downloads/wv/$VERSION/$TARBALL" |
pankso@572 | 12 |
pascal@15002 | 13 DEPENDS="glib libgsf libpng libxml2 zlib" |
pascal@15002 | 14 BUILD_DEPENDS="libgsf libgsf-dev glib-dev libxml2-dev libpng-dev" |
pascal@15002 | 15 |
pascal@24465 | 16 # What is the latest version available today? |
pascal@24465 | 17 current_version() |
pascal@24465 | 18 { |
pascal@24465 | 19 wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \ |
pascal@24465 | 20 sed '/\[DIR/!d;/arent/d;s|.*ref="||;s|/.*||' | sort -Vr | sed q |
pascal@24465 | 21 } |
pascal@24465 | 22 |
pankso@572 | 23 # Rules to configure and make the package. |
pankso@572 | 24 compile_rules() |
pankso@572 | 25 { |
pankso@572 | 26 cd $src |
pascal@12952 | 27 sed -i 's|.ac_install_sh -d|mkdir -p|' configure |
pankso@572 | 28 ./configure \ |
pankso@572 | 29 --prefix=/usr \ |
pankso@572 | 30 --mandir=/usr/share/man \ |
pascal@2432 | 31 $CONFIGURE_ARGS && |
samuel_trassare@11877 | 32 make |
pascal@15002 | 33 make DESTDIR=$DESTDIR install |
pankso@572 | 34 } |
pankso@572 | 35 |
pankso@572 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@572 | 37 genpkg_rules() |
pankso@572 | 38 { |
pankso@572 | 39 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15002 | 40 cp -a $install/usr/bin $fs/usr |
pankso@572 | 41 chmod +x $fs/usr/bin/* |
pascal@15002 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15002 | 43 cp -a $install/usr/share/wv $fs/usr/share |
pankso@572 | 44 } |