wok view jpilot/receipt @ rev 20291

elilo: mkdir $install/usr/share (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 16 11:16:22 2018 +0200 (2018-04-16)
parents e08f8f6be0ed
children ad8b9ff412d2
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/$TARBALL"
13 DEPENDS="gtk+ gettext pilot-link"
14 BUILD_DEPENDS="gtk+-dev gettext pilot-link-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure $CONFIGURE_ARGS --prefix=/usr && make && make install
20 cat >>$install/usr/share/applications/jpilot.desktop <<EOT
21 Comment[fr]=Organiseur de bureau pour les Palm Pilot
22 EOT
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/* $fs
29 mkdir -p $fs/usr/share/pixmaps
30 cp -p $install/usr/share/doc/jpilot/icons/jpilot-icon3.xpm \
31 $fs/usr/share/pixmaps/jpilot.xpm
32 rm -r $fs/usr/share/man $fs/usr/share/doc
33 }
35 post_install(){
36 echo
37 echo "Don't forget to add yourself to group dialout to be able to sync your Palm."
38 echo " # addgroup tux dialout"
39 }