wok view wv/receipt @ rev 25647

Backout salvador 10% speedup: crashes with large files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 26 12:15:51 2024 +0000 (9 months ago)
parents 9c2fdce844ea
children
line source
1 # SliTaz package receipt.
3 PACKAGE="wv"
4 VERSION="1.2.9"
5 CATEGORY="x-window"
6 SHORT_DESC="MS document manipulation library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20230325174650/http://www.abisource.com/projects/"
11 WGET_URL="https://web.archive.org/web/20150709083957if_/http://www.abisource.com/downloads/wv/$VERSION/$TARBALL"
13 DEPENDS="glib libgsf libpng libxml2 zlib"
14 BUILD_DEPENDS="libgsf libgsf-dev glib-dev libxml2-dev libpng-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%wv/*}wv/ 2>/dev/null | \
20 sed '/\[DIR/!d;/arent/d;s|.*ref="||;s|/.*||' | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 sed -i 's|.ac_install_sh -d|mkdir -p|' configure
28 ./configure \
29 --prefix=/usr \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 chmod +x $fs/usr/bin/*
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/share/wv $fs/usr/share
44 }