wok-6.x annotate meld/receipt @ rev 15050
kino: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 18:52:35 2013 +0000 (2013-08-12) |
parents | 11f4fc543f98 |
children | 16df76e1fc6a |
rev | line source |
---|---|
slaxemulator@7465 | 1 # SliTaz package receipt. |
slaxemulator@7465 | 2 |
slaxemulator@7465 | 3 PACKAGE="meld" |
slaxemulator@12994 | 4 VERSION="1.6.0" |
slaxemulator@7465 | 5 CATEGORY="development" |
slaxemulator@7465 | 6 SHORT_DESC="Visual diff and merge tool for GNOME." |
slaxemulator@7465 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
slaxemulator@12994 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@12994 | 10 WEB_SITE="http://meldmerge.org/" |
slaxemulator@12994 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:3}/$TARBALL" |
slaxemulator@7465 | 12 |
pascal@15000 | 13 DEPENDS="pygtk rarian" |
pascal@15000 | 14 BUILD_DEPENDS="pygtk-dev rarian-dev gnome-doc-utils intltool pkg-config util-linux-getopt" |
pascal@15000 | 15 |
slaxemulator@7465 | 16 # Rules to configure and make the package. |
slaxemulator@7465 | 17 compile_rules() |
slaxemulator@7465 | 18 { |
slaxemulator@7465 | 19 cd $src |
slaxemulator@12994 | 20 make prefix=/usr && make prefix=/usr DESTDIR=$DESTDIR install |
slaxemulator@7465 | 21 } |
slaxemulator@7465 | 22 |
slaxemulator@7465 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7465 | 24 genpkg_rules() |
slaxemulator@7465 | 25 { |
slaxemulator@7465 | 26 mkdir -p $fs/usr/share |
slaxemulator@12994 | 27 cp -a $install/usr/bin $fs/usr |
slaxemulator@12994 | 28 cp -a $install/usr/lib $fs/usr |
slaxemulator@12994 | 29 cp -a $install/usr/share/meld $fs/usr/share |
slaxemulator@7465 | 30 } |
slaxemulator@7465 | 31 |