wok-current view libofx/receipt @ rev 12851

Up: libvlc-dev (2.0.1)
author Dominique Corbex <domcox@slitaz.org>
date Wed May 23 13:02:34 2012 +0200 (2012-05-23)
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 }