wok-current annotate libofx/receipt @ rev 9155

firmware: fix SOURCE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 07 13:02:30 2011 +0100 (2011-03-07)
parents
children d1768332cee0
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
erjo@8464 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 }