wok-stable view libofx/receipt @ rev 11495

rox-filer: add xorg-libSM to build_depends
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Dec 19 02:49:30 2011 +0100 (2011-12-19)
parents 9af1fe7ff6a8
children
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 }