wok-next annotate jpilot/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents f48456621a9d
children
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@21020 6 SHORT_DESC="Desktop organizer application for PalmOS devices"
llevrel@18696 7 MAINTAINER="Lucas Levrel <llev@slitaz.org>"
llevrel@18696 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://jpilot.org/"
al@20557 10
llevrel@18696 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
llevrel@18696 12 WGET_URL="$WEB_SITE/$TARBALL"
llevrel@18696 13
al@21020 14 BUILD_DEPENDS="gtk2-dev gettext-dev 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@21017 32 DEPENDS="gtk2 gettext pilot-link"
llevrel@18696 33 }
llevrel@18698 34
llevrel@18698 35 post_install(){
al@21020 36 [ -n "$quiet" ] | 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 }