wok-next view wv/receipt @ rev 11380

Improvement: libwebkit doesn't need -j1 to compile anymore
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 03:55:28 2011 +0100 (2011-12-10)
parents d0b4a9f7bd04
children a1ba07a3f4cb
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"
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 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make -j1 DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 chmod +x $fs/usr/bin/*
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/share/wv $fs/usr/share
34 }