wok-next annotate jpilot/receipt @ rev 20709

cdrdao: add patch.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 26 17:09:29 2018 +0300 (2018-05-26)
parents 9e5dca6702bf
children f48456621a9d
rev   line source
al@20557 1 # SliTaz package receipt v2.
llevrel@18696 2
llevrel@18696 3 PACKAGE="jpilot"
llevrel@18696 4 VERSION="1.8.2"
llevrel@18696 5 CATEGORY="office"
al@20557 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"
al@20557 10
llevrel@18696 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
llevrel@18696 12 WGET_URL="$WEB_SITE/$TARBALL"
llevrel@18696 13
pascal@20005 14 BUILD_DEPENDS="gtk+-dev gettext pilot-link-dev intltool"
llevrel@18696 15
al@20557 16 compile_rules() {
al@20557 17 ./configure $CONFIGURE_ARGS &&
al@20575 18 fix libtool &&
al@20557 19 make &&
al@20557 20 make install || return 1
al@20557 21
llevrel@18696 22 cat >>$install/usr/share/applications/jpilot.desktop <<EOT
llevrel@18696 23 Comment[fr]=Organiseur de bureau pour les Palm Pilot
llevrel@18696 24 EOT
al@20557 25 mkdir -p $install/usr/share/pixmaps/
al@20557 26 cp $install/usr/share/doc/jpilot/icons/jpilot-icon3.xpm \
al@20557 27 $install/usr/share/pixmaps/jpilot.xpm
llevrel@18696 28 }
llevrel@18696 29
al@20557 30 genpkg_rules() {
al@20557 31 copy @std *.mo
al@20557 32 DEPENDS="gtk+ gettext pilot-link"
llevrel@18696 33 }
llevrel@18698 34
llevrel@18698 35 post_install(){
al@20557 36 cat <<EOT
al@20557 37
al@20557 38 .-----------------------------------------------.
al@20557 39 | Don't forget to add yourself to group dialout |
al@20557 40 | to be able to sync your Palm. |
al@20557 41 | # addgroup tux dialout |
al@20557 42 '-----------------------------------------------'
al@20557 43 EOT
llevrel@18698 44 }