wok-6.x annotate pilot-link/receipt @ rev 24929
updated mtools (4.0.23 -> 4.0.39)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 15:59:41 2022 +0100 (2022-04-13) |
parents | aa1584474883 |
children | a77f941b8df6 |
rev | line source |
---|---|
llevrel@18696 | 1 # SliTaz package receipt. |
llevrel@18696 | 2 |
llevrel@18696 | 3 PACKAGE="pilot-link" |
llevrel@18696 | 4 VERSION="0.12.5" |
llevrel@18696 | 5 CATEGORY="office" |
llevrel@18696 | 6 SHORT_DESC="A suite of tools used to connect PalmOS compatible handhelds." |
llevrel@18696 | 7 MAINTAINER="Lucas Levrel <llev@slitaz.org>" |
llevrel@18696 | 8 LICENSE="GPL-LGPL" |
pascal@20683 | 9 WEB_SITE="https://github.com/jichu4n/pilot-link" |
llevrel@18696 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
llevrel@18696 | 11 WGET_URL="http://downloads.pilot-link.org/$TARBALL" |
llevrel@18696 | 12 |
llevrel@18696 | 13 DEPENDS="popt readline" |
llevrel@18696 | 14 BUILD_DEPENDS="popt-dev readline-dev" |
llevrel@18696 | 15 |
pascal@24308 | 16 # What is the latest version available today? |
pascal@24308 | 17 current_version() |
pascal@24308 | 18 { |
pascal@24308 | 19 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@24308 | 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 21 } |
pascal@24308 | 22 |
llevrel@18696 | 23 # Rules to configure and make the package. |
llevrel@18696 | 24 compile_rules() |
llevrel@18696 | 25 { |
llevrel@18696 | 26 ./configure $CONFIGURE_ARGS --prefix=/usr --enable-conduits \ |
llevrel@18696 | 27 --sharedstatedir=/var/lib --localstatedir=/var && |
llevrel@18696 | 28 make && make install |
llevrel@18696 | 29 } |
llevrel@18696 | 30 |
llevrel@18696 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
llevrel@18696 | 32 genpkg_rules() |
llevrel@18696 | 33 { |
llevrel@18696 | 34 cp -a $install/* $fs |
llevrel@18697 | 35 rm -r $fs/usr/include $fs/usr/share/aclocal |
llevrel@18696 | 36 } |