wok-6.x annotate libofx/receipt @ rev 14662

uml-utilities: add SUGGESTED
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 06 13:10:41 2013 +0200 (2013-06-06)
parents 9af1fe7ff6a8
children 82aa64f4d60d
rev   line source
erjo@8464 1 # SliTaz package receipt.
erjo@8464 2
erjo@8464 3 PACKAGE="libofx"
erjo@8464 4 VERSION="0.9.1"
erjo@8464 5 CATEGORY="misc"
erjo@8464 6 SHORT_DESC="OFX parser library"
erjo@8464 7 MAINTAINER="remyhr@free.fr"
erjo@8464 8 DEPENDS="opensp"
erjo@8464 9 BUILD_DEPENDS="slitaz-toolchain opensp-dev"
erjo@8464 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@8464 11 WEB_SITE="http://libofx.sourceforge.net/"
erjo@8464 12 WGET_URL="http://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/$VERSION/$TARBALL"
erjo@8464 13
erjo@8464 14 # Rules to configure and make the package.
erjo@8464 15 compile_rules()
erjo@8464 16 {
erjo@8464 17 cd $src
slaxemulator@9700 18 patch -p1 -i $stuff/libofx-0.9.1-include-cxx-headers.patch
erjo@8464 19 ./configure --prefix=/usr $CONFIGURE_ARGS &&
erjo@8464 20 make &&
erjo@8464 21 make DESTDIR=$PWD/_pkg install
erjo@8464 22 }
erjo@8464 23
erjo@8464 24 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@8464 25 genpkg_rules()
erjo@8464 26 {
erjo@8464 27 mkdir -p $fs/usr/bin $fs/usr/include /usr/lib
erjo@8464 28 cp -a $_pkg/usr/bin $fs/usr
erjo@8464 29 cp -a $_pkg/usr/include $fs/usr
erjo@8464 30 cp -a $_pkg/usr/lib $fs/usr
erjo@8464 31
erjo@8464 32 }