wok-current view wv/receipt @ rev 25713

Up abiword (3.0.5), libwmf (0.2.13), fix wv url
author Stanislas Leduc <shann@slitaz.org>
date Fri Jun 14 11:35:21 2024 +0000 (5 months ago)
parents 535c806240cc
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://gitlab.gnome.org/World/AbiWord"
11 WGET_URL="https://github.com/AbiWord/wv/archive/refs/tags/$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%/*/*}/ 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 }