# HG changeset patch # User Christophe Lincoln # Date 1208180539 -7200 # Node ID cfaa16e942163554d7cb1a4f3ae19754b86ca787 # Parent b023d73fec79f5a93a7113c829cec2020c4da3f2 Add: wv - MS doc manipulation tools diff -r b023d73fec79 -r cfaa16e94216 wv-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wv-dev/receipt Mon Apr 14 15:42:19 2008 +0200 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="wv-dev" +VERSION="1.2.5" +CATEGORY="x-window" +SHORT_DESC="WV (MS doc lib) devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="wv" +WEB_SITE="http://www.abisource.com/projects/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} + diff -r b023d73fec79 -r cfaa16e94216 wv/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wv/receipt Mon Apr 14 15:42:19 2008 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="wv" +VERSION="1.2.5" +CATEGORY="x-window" +SHORT_DESC="MS document manipulation library." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.abisource.com/projects/" +WGET_URL="http://www.abisource.com/downloads/wv/$VERSION/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + chmod +x $fs/usr/bin/* + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/share/wv $fs/usr/share +} +