wok-next annotate wv/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 7729bf733291
children d5aab818505e
rev   line source
al@20459 1 # SliTaz package receipt v2.
pankso@572 2
pankso@572 3 PACKAGE="wv"
psychomaniak@17434 4 VERSION="1.2.9"
pankso@572 5 CATEGORY="x-window"
al@20459 6 SHORT_DESC="MS document manipulation library"
pankso@572 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
al@20459 9 WEB_SITE="http://www.abisource.com/projects/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/wv.html"
al@20459 11
pankso@572 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@572 13 WGET_URL="http://www.abisource.com/downloads/wv/$VERSION/$TARBALL"
pankso@572 14
al@20645 15 BUILD_DEPENDS="libgsf-dev glib-dev libxml2-dev libpng16-dev"
al@20459 16 SPLIT="wv-dev"
pascal@15002 17
al@20459 18 compile_rules() {
pascal@12952 19 sed -i 's|.ac_install_sh -d|mkdir -p|' configure
al@20604 20
al@20645 21 ./configure \
al@20645 22 --disable-static \
al@20645 23 $CONFIGURE_ARGS &&
al@20604 24 fix libtool &&
al@20604 25 make &&
al@20645 26 make install
pankso@572 27 }
pankso@572 28
al@20459 29 genpkg_rules() {
al@20459 30 case $PACKAGE in
al@20459 31 wv)
al@20516 32 copy @std
al@20645 33 DEPENDS="glib libgsf libxml2 zlib"
al@20459 34 ;;
al@20459 35 *-dev)
al@20516 36 copy @dev
al@20459 37 ;;
al@20459 38 esac
pankso@572 39 }