wok annotate libofx/receipt @ rev 25697

dool: reduced size of package
author Hans-G?nter Theisgen
date Sun May 12 07:10:04 2024 +0100 (2 weeks ago)
parents 7dd01dedad38
children
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"
pascal@25460 10 WEB_SITE="https://libofx.sourceforge.net/"
pascal@20421 11 WGET_URL="https://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
pascal@24361 16 # What is the latest version available today?
pascal@24361 17 current_version()
pascal@24361 18 {
pascal@24361 19 wget -O - https://sourceforge.net/projects/libofx/files/libofx/ 2>/dev/null | \
pascal@25606 20 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
pascal@24361 21 sed '/scope="row/!d;s|.*/libofx/||;s|/.*||;q'
pascal@24361 22 }
pascal@24361 23
erjo@8464 24 # Rules to configure and make the package.
erjo@8464 25 compile_rules()
erjo@8464 26 {
domcox@15738 27 ./configure \
domcox@15738 28 --prefix=/usr \
domcox@15738 29 $CONFIGURE_ARGS &&
erjo@8464 30 make &&
pascal@14839 31 make DESTDIR=$DESTDIR install
erjo@8464 32 }
erjo@8464 33
erjo@8464 34 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@8464 35 genpkg_rules()
erjo@8464 36 {
erjo@8464 37 mkdir -p $fs/usr/bin $fs/usr/include /usr/lib
pascal@14839 38 cp -a $install/usr/bin $fs/usr
pascal@14839 39 cp -a $install/usr/include $fs/usr
pascal@14839 40 cp -a $install/usr/lib $fs/usr
erjo@8464 41 }