wok-next annotate libofx/receipt @ rev 20520

python-edje, python-gevent-psycopg2, webkitgtk update bdeps ; uclibc-cross-compiler-x86_64 src/install workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 23 09:47:21 2018 +0100 (2018-03-23)
parents f1e8995566a5
children 9e5dca6702bf
rev   line source
al@20462 1 # SliTaz package receipt v2.
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"
al@20462 9 WEB_SITE="http://libofx.sourceforge.net/"
al@20462 10
erjo@8464 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20462 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@8464 13
pascal@14839 14 BUILD_DEPENDS="opensp-dev"
al@20462 15 SPLIT="libofx-dev"
pascal@14839 16
al@20462 17 compile_rules() {
domcox@15738 18 ./configure \
domcox@15738 19 --prefix=/usr \
domcox@15738 20 $CONFIGURE_ARGS &&
erjo@8464 21 make &&
pascal@14839 22 make DESTDIR=$DESTDIR install
erjo@8464 23 }
erjo@8464 24
al@20462 25 genpkg_rules() {
al@20462 26 case $PACKAGE in
al@20462 27 libofx)
al@20462 28 mkdir -p $fs/usr/bin $fs/usr/include /usr/lib
al@20462 29 cp -a $install/usr/bin $fs/usr
al@20462 30 cp -a $install/usr/include $fs/usr
al@20462 31 cp -a $install/usr/lib $fs/usr
al@20462 32 DEPENDS="opensp"
al@20462 33 ;;
al@20462 34 *-dev)
al@20462 35 mkdir -p $fs/usr/share $fs/usr/lib
al@20462 36 cp -a $install/usr/share/libofx $fs/usr/lib
al@20462 37 cp -a $install/usr/include $fs/usr
al@20462 38 cp -a $install/usr/lib/*.*a $fs/usr/lib
al@20462 39 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
al@20462 40 DEPENDS="libofx opensp-dev"
al@20462 41 ;;
al@20462 42 esac
erjo@8464 43 }