wok annotate poedit/receipt @ rev 7712

yasr: add post install
author Paul Issott <paul@slitaz.org>
date Sun Dec 19 15:51:06 2010 +0000 (2010-12-19)
parents f3327707164a
children 51a1ebbda768
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="poedit"
slaxemulator@7042 4 VERSION="1.4.6.1"
pankso@204 5 CATEGORY="development"
pankso@41 6 SHORT_DESC="Editor for i18n po files."
pankso@41 7 MAINTAINER="pankso@slitaz.org"
pascal@5005 8 DEPENDS="xorg wxWidgets pango gettext libdb xorg-libXdamage xorg-libXxf86vm \
pascal@5005 9 gtkspell"
erjo@1797 10 BUILD_DEPENDS="wxWidgets-dev gettext"
pankso@41 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@41 12 WEB_SITE="http://www.poedit.net/"
pankso@41 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@41 14
pankso@41 15 # Rules to configure and make the package.
pankso@41 16 compile_rules()
pankso@41 17 {
pankso@41 18 cd $src
pankso@41 19 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1465 20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1465 21 make &&
pankso@41 22 make DESTDIR=$PWD/_pkg install
pankso@41 23 }
pankso@41 24
pankso@41 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 26 genpkg_rules()
pankso@41 27 {
pankso@41 28 mkdir -p $fs/usr/share/locale
pankso@41 29 cp -a $_pkg/usr/bin $fs/usr
pankso@41 30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
pankso@41 31 cp -a $_pkg/usr/share/poedit $fs/usr/share
erjo@1797 32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@41 33 }
pankso@41 34