wok view pilot-link/receipt @ rev 25532

Add some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 27 10:46:05 2023 +0000 (20 months ago)
parents b569b85b0fb9
children 72fb3028d8ce
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="http://gentoo.oregonstate.edu/distfiles/$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 }