wok-6.x view libofx/receipt @ rev 10042

bison: cross with CONFIGURE_ARGS
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 09:00:11 2011 +0200 (2011-05-20)
parents 9af1fe7ff6a8
children 82aa64f4d60d
line source
1 # SliTaz package receipt.
3 PACKAGE="libofx"
4 VERSION="0.9.1"
5 CATEGORY="misc"
6 SHORT_DESC="OFX parser library"
7 MAINTAINER="remyhr@free.fr"
8 DEPENDS="opensp"
9 BUILD_DEPENDS="slitaz-toolchain opensp-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://libofx.sourceforge.net/"
12 WGET_URL="http://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -p1 -i $stuff/libofx-0.9.1-include-cxx-headers.patch
19 ./configure --prefix=/usr $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/include /usr/lib
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/include $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
32 }