wok-current view jpilot/receipt @ rev 25245

updated python-unidecode (1.1.1 -> 1.2.0)
author Hans-G?nter Theisgen
date Thu Jul 14 07:00:20 2022 +0100 (2022-07-14)
parents ad8b9ff412d2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="jpilot"
4 VERSION="1.8.2"
5 CATEGORY="office"
6 SHORT_DESC="J-Pilot is a desktop organizer application for PalmOS devices."
7 MAINTAINER="Lucas Levrel <llev@slitaz.org>"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.jpilot.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/tarballs/$TARBALL"
13 DEPENDS="gtk+ gettext pilot-link"
14 BUILD_DEPENDS="gtk+-dev gettext pilot-link-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed '/latest/d;/release-/!d;s|.*/release-||;s|/.*||' | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS --prefix=/usr && make && make install
27 cat >>$install/usr/share/applications/jpilot.desktop <<EOT
28 Comment[fr]=Organiseur de bureau pour les Palm Pilot
29 EOT
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 mkdir -p $fs/usr/share/pixmaps
37 cp -p $install/usr/share/doc/jpilot/icons/jpilot-icon3.xpm \
38 $fs/usr/share/pixmaps/jpilot.xpm
39 rm -r $fs/usr/share/man $fs/usr/share/doc
40 }
42 post_install(){
43 echo
44 echo "Don't forget to add yourself to group dialout to be able to sync your Palm."
45 echo " # addgroup tux dialout"
46 }