wok-next view wv/receipt @ rev 14948
Up: eeze-dev (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:15:53 2013 +0200 (2013-08-08) |
parents | d3f87309a30f |
children | 7896f0694ef6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wv"
4 VERSION="1.2.5"
5 CATEGORY="x-window"
6 SHORT_DESC="MS document manipulation library."
7 DEPENDS="glib libgsf libpng libxml2 zlib"
8 BUILD_DEPENDS="libgsf libgsf-dev glib-dev libxml2-dev libpng-dev"
9 MAINTAINER="pankso@slitaz.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.abisource.com/projects/"
12 WGET_URL="http://www.abisource.com/downloads/wv/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
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=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 chmod +x $fs/usr/bin/*
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/share/wv $fs/usr/share
35 }