wok-6.x annotate lxterminal/receipt @ rev 15602
Use DESTDIR
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 20:42:36 2013 +0000 (2013-12-05) |
parents | f01409ef6d29 |
children | 5d53e8ccbc8d |
rev | line source |
---|---|
gokhlayeh@5956 | 1 # SliTaz package receipt. |
gokhlayeh@5956 | 2 |
slaxemulator@6318 | 3 |
gokhlayeh@5956 | 4 PACKAGE="lxterminal" |
devl547@11276 | 5 VERSION="0.1.11" |
gokhlayeh@5956 | 6 CATEGORY="utilities" |
gokhlayeh@5956 | 7 SHORT_DESC="LXDE X Terminal emulator." |
gokhlayeh@7034 | 8 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15379 | 9 LICENSE="GPL2" |
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 |
pascal@15379 | 15 DEPENDS="vte gtk+" |
pascal@15379 | 16 BUILD_DEPENDS="intltool vte-dev vte-terminal gtk+-dev" |
pascal@15379 | 17 |
gokhlayeh@5956 | 18 # Rules to configure and make the package. |
gokhlayeh@5956 | 19 compile_rules() |
gokhlayeh@5956 | 20 { |
gokhlayeh@5956 | 21 cd $src |
gokhlayeh@5956 | 22 ./configure \ |
gokhlayeh@5956 | 23 --prefix=/usr \ |
gokhlayeh@5956 | 24 --infodir=/usr/share/info \ |
gokhlayeh@5956 | 25 --mandir=/usr/share/man \ |
gokhlayeh@5956 | 26 $CONFIGURE_ARGS && |
pascal@15379 | 27 make && make DESTDIR=$DESTDIR install |
gokhlayeh@5956 | 28 } |
gokhlayeh@5956 | 29 |
gokhlayeh@5956 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5956 | 31 genpkg_rules() |
gokhlayeh@5956 | 32 { |
gokhlayeh@5956 | 33 mkdir -p $fs/usr |
pascal@15379 | 34 cp -a $install/usr/bin $fs/usr |
pascal@15379 | 35 cp -a $install/usr/share $fs/usr |
gokhlayeh@5956 | 36 |
gokhlayeh@5956 | 37 # Remove man & locales |
gokhlayeh@5956 | 38 rm -rf $fs/usr/share/man |
gokhlayeh@5956 | 39 rm -rf $fs/usr/share/locale |
gokhlayeh@5956 | 40 } |
gokhlayeh@5956 | 41 |