wok-6.x annotate libofx/receipt @ rev 15597
Update some bdeps with pkg-config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 11:43:50 2013 +0000 (2013-12-05) |
parents | 82aa64f4d60d |
children | f1e8995566a5 |
rev | line source |
---|---|
erjo@8464 | 1 # SliTaz package receipt. |
erjo@8464 | 2 |
erjo@8464 | 3 PACKAGE="libofx" |
pascal@14839 | 4 VERSION="0.9.8" |
erjo@8464 | 5 CATEGORY="misc" |
erjo@8464 | 6 SHORT_DESC="OFX parser library" |
erjo@8464 | 7 MAINTAINER="remyhr@free.fr" |
pascal@14841 | 8 LICENSE="GPL2" |
erjo@8464 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@8464 | 10 WEB_SITE="http://libofx.sourceforge.net/" |
erjo@8464 | 11 WGET_URL="http://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/$VERSION/$TARBALL" |
erjo@8464 | 12 |
pascal@14839 | 13 DEPENDS="opensp" |
pascal@14839 | 14 BUILD_DEPENDS="opensp-dev" |
pascal@14839 | 15 |
erjo@8464 | 16 # Rules to configure and make the package. |
erjo@8464 | 17 compile_rules() |
erjo@8464 | 18 { |
erjo@8464 | 19 cd $src |
erjo@8464 | 20 ./configure --prefix=/usr $CONFIGURE_ARGS && |
erjo@8464 | 21 make && |
pascal@14839 | 22 make DESTDIR=$DESTDIR install |
erjo@8464 | 23 } |
erjo@8464 | 24 |
erjo@8464 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@8464 | 26 genpkg_rules() |
erjo@8464 | 27 { |
erjo@8464 | 28 mkdir -p $fs/usr/bin $fs/usr/include /usr/lib |
pascal@14839 | 29 cp -a $install/usr/bin $fs/usr |
pascal@14839 | 30 cp -a $install/usr/include $fs/usr |
pascal@14839 | 31 cp -a $install/usr/lib $fs/usr |
erjo@8464 | 32 |
erjo@8464 | 33 } |