wok-4.x annotate osmo/receipt @ rev 3000

slim: Fix pre_install func to backup config file (Thanks firmit)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 11 21:44:31 2009 +0200 (2009-05-11)
parents 3d99ecce2d4b
children 4463b95d50a9
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="osmo"
pankso@550 4 VERSION="0.2.0"
pankso@205 5 CATEGORY="office"
pankso@41 6 SHORT_DESC="A handy personal organizer using GTK+."
pankso@41 7 MAINTAINER="pankso@slitaz.org"
pascal@2521 8 DEPENDS="gtk+ libxml2 xorg-libXdamage"
pascal@1511 9 BUILD_DEPENDS="gtk+ gtk+-dev libxml2-dev"
pankso@41 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@41 11 WEB_SITE="http://clay.ll.pl/osmo/"
pankso@41 12 WGET_URL="$SF_MIRROR/$PACKAGE-pim/$TARBALL"
pankso@41 13
pankso@41 14 # Rules to configure and make the package.
pankso@41 15 compile_rules()
pankso@41 16 {
pankso@41 17 cd $src
pankso@550 18 ./configure \
pankso@550 19 --prefix=/usr \
pascal@1443 20 $CONFIGURE_ARGS &&
pascal@1443 21 make &&
pascal@1443 22 make DESTDIR=$PWD/_pkg install &&
pankso@550 23 # UTF-8 fr.po = pango segfault if the system is not unicode.
pankso@372 24 rm -rf _pkg/usr/share/locale/fr
pankso@41 25 }
pankso@41 26
pankso@41 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 28 genpkg_rules()
pankso@41 29 {
pankso@550 30 mkdir -p $fs/usr
pankso@41 31 cp -a $_pkg/usr/bin $fs/usr
pankso@41 32 }
pankso@41 33