wok-6.x annotate wv/receipt @ rev 12378
Up: laptop-mode-tools to 1.60.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 22:23:48 2012 +0000 (2012-04-19) |
parents | 2f00e1abd984 |
children | d3f87309a30f |
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 |
samuel_trassare@11877 | 18 mkdir -p $PWD/_pkg/usr/share/man $PWD/_pkg/usr/share/wv/wingdingfont \ |
samuel_trassare@11877 | 19 $PWD/_pkg/usr/bin $PWD/_pkg/usr/lib |
samuel_trassare@11877 | 20 |
pankso@572 | 21 ./configure \ |
pankso@572 | 22 --prefix=/usr \ |
pankso@572 | 23 --mandir=/usr/share/man \ |
pascal@2432 | 24 $CONFIGURE_ARGS && |
samuel_trassare@11877 | 25 make |
samuel_trassare@11877 | 26 make DESTDIR=$PWD/_pkg install |
pankso@572 | 27 } |
pankso@572 | 28 |
pankso@572 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@572 | 30 genpkg_rules() |
pankso@572 | 31 { |
pankso@572 | 32 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@572 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@572 | 34 chmod +x $fs/usr/bin/* |
pankso@572 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@572 | 36 cp -a $_pkg/usr/share/wv $fs/usr/share |
pankso@572 | 37 } |