wok annotate jpilot/receipt @ rev 19363

Add bwm-ng
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 03 09:44:00 2016 +0200 (2016-08-03)
parents e08f8f6be0ed
children ad8b9ff412d2
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"
llevrel@18696 11 WGET_URL="$WEB_SITE/$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
llevrel@18696 16 # Rules to configure and make the package.
llevrel@18696 17 compile_rules()
llevrel@18696 18 {
llevrel@18696 19 ./configure $CONFIGURE_ARGS --prefix=/usr && make && make install
llevrel@18696 20 cat >>$install/usr/share/applications/jpilot.desktop <<EOT
llevrel@18696 21 Comment[fr]=Organiseur de bureau pour les Palm Pilot
llevrel@18696 22 EOT
llevrel@18696 23 }
llevrel@18696 24
llevrel@18696 25 # Rules to gen a SliTaz package suitable for Tazpkg.
llevrel@18696 26 genpkg_rules()
llevrel@18696 27 {
llevrel@18696 28 cp -a $install/* $fs
llevrel@18696 29 mkdir -p $fs/usr/share/pixmaps
llevrel@18696 30 cp -p $install/usr/share/doc/jpilot/icons/jpilot-icon3.xpm \
llevrel@18696 31 $fs/usr/share/pixmaps/jpilot.xpm
llevrel@18696 32 rm -r $fs/usr/share/man $fs/usr/share/doc
llevrel@18696 33 }
llevrel@18698 34
llevrel@18698 35 post_install(){
llevrel@18698 36 echo
llevrel@18698 37 echo "Don't forget to add yourself to group dialout to be able to sync your Palm."
llevrel@18698 38 echo " # addgroup tux dialout"
llevrel@18698 39 }
llevrel@18698 40