wok-stable view libofx/receipt @ rev 9618

Fixed tazdrop to us tazwok get-src slitaz-tools --target=src. This way its not downloading every time its build.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Apr 17 20:36:34 2011 +0000 (2011-04-17)
parents
children d1768332cee0
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 }