wok-6.x diff libofx/receipt @ rev 8923

gnomad2 needs intltool to compile
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 01 02:41:39 2011 +0100 (2011-03-01)
parents
children d1768332cee0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libofx/receipt	Tue Mar 01 02:41:39 2011 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libofx"
     1.7 +VERSION="0.9.1"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="OFX parser library"
    1.10 +MAINTAINER="remyhr@free.fr"
    1.11 +DEPENDS="opensp"
    1.12 +BUILD_DEPENDS="slitaz-toolchain opensp-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://libofx.sourceforge.net/"
    1.15 +WGET_URL="http://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/$VERSION/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	patch -p1 -i ../stuff/libofx-0.9.1-include-cxx-headers.patch
    1.22 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.23 +	make &&
    1.24 +	make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/bin $fs/usr/include /usr/lib
    1.31 +	cp -a $_pkg/usr/bin $fs/usr
    1.32 +	cp -a $_pkg/usr/include $fs/usr
    1.33 +	cp -a $_pkg/usr/lib $fs/usr
    1.34 +		 
    1.35 +}