wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="pilot-link"
4 VERSION="0.12.5"
5 CATEGORY="office"
6 SHORT_DESC="A suite of tools used to connect PalmOS compatible handhelds."
7 MAINTAINER="Lucas Levrel <llev@slitaz.org>"
8 LICENSE="GPL-LGPL"
9 WEB_SITE="https://github.com/jichu4n/pilot-link"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://web.archive.org/web/20160804034951/http://www.pilot-link.org/source/$TARBALL"
13 DEPENDS="popt readline"
14 BUILD_DEPENDS="popt-dev readline-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS --prefix=/usr --enable-conduits \
27 --sharedstatedir=/var/lib --localstatedir=/var &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 rm -r $fs/usr/include $fs/usr/share/aclocal
36 }