wok-next view wv/receipt @ rev 18596
libsdl: fix post_install() status
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 13 17:31:47 2015 +0200 (2015-11-13) |
parents | 7896f0694ef6 |
children | dd145c435e4b |
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="http://www.abisource.com/projects/"
11 WGET_URL="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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's|.ac_install_sh -d|mkdir -p|' configure
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 chmod +x $fs/usr/bin/*
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/share/wv $fs/usr/share
37 }