wok annotate pilot-link/receipt @ rev 25696

created recipe for dool
author Hans-G?nter Theisgen
date Sat May 11 17:17:55 2024 +0100 (6 months ago)
parents a77f941b8df6
children
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"
pascal@24992 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@25635 11 WGET_URL="https://web.archive.org/web/20160804034951/http://www.pilot-link.org/source/$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 }