wok-stable annotate lxterminal/receipt @ rev 6102
gettext: breaks build_depends loop with gcc+gcj, glib & gtk+
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 03 10:24:10 2010 +0200 (2010-09-03) |
parents | |
children | ac556fcc1041 |
rev | line source |
---|---|
gokhlayeh@5956 | 1 # SliTaz package receipt. |
gokhlayeh@5956 | 2 |
gokhlayeh@5956 | 3 PACKAGE="lxterminal" |
gokhlayeh@5956 | 4 VERSION="0.1.8" |
gokhlayeh@5956 | 5 CATEGORY="utilities" |
gokhlayeh@5956 | 6 SHORT_DESC="LXDE X Terminal emulator." |
gokhlayeh@5956 | 7 MAINTAINER="gokhlayeh@mailoo.org" |
gokhlayeh@5956 | 8 DEPENDS="vte gtk+" |
gokhlayeh@5956 | 9 BUILD_DEPENDS="intltool vte-dev vte-terminal gtk+-dev" |
gokhlayeh@5956 | 10 SUGGESTED="lxterminal-locales" |
gokhlayeh@5956 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@5956 | 12 WEB_SITE="http://lxde.org" |
gokhlayeh@5956 | 13 WGET_URL="http://downloads.sourceforge.net/project/lxde/LXTerminal%20%28terminal%20emulator%29/LXTerminal%20$VERSION/$TARBALL" |
gokhlayeh@5956 | 14 |
gokhlayeh@5956 | 15 # Rules to configure and make the package. |
gokhlayeh@5956 | 16 compile_rules() |
gokhlayeh@5956 | 17 { |
gokhlayeh@5956 | 18 cd $src |
gokhlayeh@5956 | 19 ./configure \ |
gokhlayeh@5956 | 20 --prefix=/usr \ |
gokhlayeh@5956 | 21 --infodir=/usr/share/info \ |
gokhlayeh@5956 | 22 --mandir=/usr/share/man \ |
gokhlayeh@5956 | 23 $CONFIGURE_ARGS && |
gokhlayeh@5956 | 24 make && make DESTDIR=$PWD/_pkg install |
gokhlayeh@5956 | 25 } |
gokhlayeh@5956 | 26 |
gokhlayeh@5956 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5956 | 28 genpkg_rules() |
gokhlayeh@5956 | 29 { |
gokhlayeh@5956 | 30 mkdir -p $fs/usr |
gokhlayeh@5956 | 31 cp -a $_pkg/usr/bin $fs/usr |
gokhlayeh@5956 | 32 cp -a $_pkg/usr/share $fs/usr |
gokhlayeh@5956 | 33 |
gokhlayeh@5956 | 34 # Remove man & locales |
gokhlayeh@5956 | 35 rm -rf $fs/usr/share/man |
gokhlayeh@5956 | 36 rm -rf $fs/usr/share/locale |
gokhlayeh@5956 | 37 } |
gokhlayeh@5956 | 38 |