wok-current annotate 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
rev   line source
llevrel@18696 1 # SliTaz package receipt.
llevrel@18696 2
llevrel@18696 3 PACKAGE="jpilot"
llevrel@18696 4 VERSION="1.8.2"
llevrel@18696 5 CATEGORY="office"
llevrel@18696 6 SHORT_DESC="J-Pilot is a desktop organizer application for PalmOS devices."
llevrel@18696 7 MAINTAINER="Lucas Levrel <llev@slitaz.org>"
llevrel@18696 8 LICENSE="GPL2"
llevrel@18696 9 WEB_SITE="http://www.jpilot.org"
llevrel@18696 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24980 11 WGET_URL="$WEB_SITE/tarballs/$TARBALL"
llevrel@18696 12
llevrel@18696 13 DEPENDS="gtk+ gettext pilot-link"
pascal@18703 14 BUILD_DEPENDS="gtk+-dev gettext pilot-link-dev"
llevrel@18696 15
pascal@24433 16 # What is the latest version available today?
pascal@24433 17 current_version()
pascal@24433 18 {
pascal@24433 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24433 20 sed '/latest/d;/release-/!d;s|.*/release-||;s|/.*||' | sort -Vr | sed q
pascal@24433 21 }
pascal@24433 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 && make && make install
llevrel@18696 27 cat >>$install/usr/share/applications/jpilot.desktop <<EOT
llevrel@18696 28 Comment[fr]=Organiseur de bureau pour les Palm Pilot
llevrel@18696 29 EOT
llevrel@18696 30 }
llevrel@18696 31
llevrel@18696 32 # Rules to gen a SliTaz package suitable for Tazpkg.
llevrel@18696 33 genpkg_rules()
llevrel@18696 34 {
llevrel@18696 35 cp -a $install/* $fs
llevrel@18696 36 mkdir -p $fs/usr/share/pixmaps
llevrel@18696 37 cp -p $install/usr/share/doc/jpilot/icons/jpilot-icon3.xpm \
llevrel@18696 38 $fs/usr/share/pixmaps/jpilot.xpm
llevrel@18696 39 rm -r $fs/usr/share/man $fs/usr/share/doc
llevrel@18696 40 }
llevrel@18698 41
llevrel@18698 42 post_install(){
llevrel@18698 43 echo
llevrel@18698 44 echo "Don't forget to add yourself to group dialout to be able to sync your Palm."
llevrel@18698 45 echo " # addgroup tux dialout"
llevrel@18698 46 }
llevrel@18698 47