wok view jpilot/receipt @ rev 25614
Add libslirp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 03 11:59:41 2023 +0000 (15 months ago) |
parents | 9b180a3071fb |
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 - $WEB_SITE 2>/dev/null | \
20 sed '/version/!d;s|.*version ||;s|<.*||;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 }