wok annotate wv/receipt @ rev 9625
vlc: Fix DEPENDS alsa is not a package + move *DEPENDS var under all other since there are enormous ans it's simple to read
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 24 01:02:03 2011 +0200 (2011-04-24) |
parents | d0b4a9f7bd04 |
children | a1ba07a3f4cb |
rev | line source |
---|---|
pankso@572 | 1 # SliTaz package receipt. |
pankso@572 | 2 |
pankso@572 | 3 PACKAGE="wv" |
pankso@572 | 4 VERSION="1.2.5" |
pankso@572 | 5 CATEGORY="x-window" |
pankso@572 | 6 SHORT_DESC="MS document manipulation library." |
pascal@2432 | 7 DEPENDS="glib libgsf libpng libxml2 zlib" |
pankso@991 | 8 BUILD_DEPENDS="libgsf libgsf-dev" |
pankso@572 | 9 MAINTAINER="pankso@slitaz.org" |
pankso@572 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@572 | 11 WEB_SITE="http://www.abisource.com/projects/" |
pankso@572 | 12 WGET_URL="http://www.abisource.com/downloads/wv/$VERSION/$TARBALL" |
pankso@572 | 13 |
pankso@572 | 14 # Rules to configure and make the package. |
pankso@572 | 15 compile_rules() |
pankso@572 | 16 { |
pankso@572 | 17 cd $src |
pankso@572 | 18 ./configure \ |
pankso@572 | 19 --prefix=/usr \ |
pankso@572 | 20 --mandir=/usr/share/man \ |
pascal@2432 | 21 $CONFIGURE_ARGS && |
pascal@2432 | 22 make && |
slaxemulator@8350 | 23 make -j1 DESTDIR=$PWD/_pkg install |
pankso@572 | 24 } |
pankso@572 | 25 |
pankso@572 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@572 | 27 genpkg_rules() |
pankso@572 | 28 { |
pankso@572 | 29 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@572 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@572 | 31 chmod +x $fs/usr/bin/* |
pankso@572 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@572 | 33 cp -a $_pkg/usr/share/wv $fs/usr/share |
pankso@572 | 34 } |