wok-next view wv/receipt @ rev 20459

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 13:45:43 2018 +0200 (2018-03-02)
parents dd145c435e4b
children 1eb4aacb48ed
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.abisource.com/projects/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.abisource.com/downloads/wv/$VERSION/$TARBALL"
14 BUILD_DEPENDS="libgsf libgsf-dev glib-dev libxml2-dev libpng16-dev"
15 SPLIT="wv-dev"
17 compile_rules() {
18 sed -i 's|.ac_install_sh -d|mkdir -p|' configure
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make
24 make DESTDIR=$DESTDIR install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 wv)
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 chmod +x $fs/usr/bin/*
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 cp -a $install/usr/share/wv $fs/usr/share
35 DEPENDS="glib libgsf libpng16 libxml2 zlib"
36 ;;
37 *-dev)
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.*a $fs/usr/lib
40 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
41 cp -a $install/usr/include $fs/usr
42 ;;
43 esac
44 }