wok-current annotate stjerm-terminal/receipt @ rev 13818
tazbug-website: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 06 18:21:06 2013 +0100 (2013-01-06) |
parents | |
children | 0d6fc7e516c3 |
rev | line source |
---|---|
mallory@2652 | 1 # SliTaz package receipt. |
mallory@2652 | 2 |
mallory@2652 | 3 PACKAGE="stjerm-terminal" |
mallory@2652 | 4 SOURCE="stjerm" |
mallory@2652 | 5 VERSION="0.11" |
mallory@2652 | 6 CATEGORY="x-window" |
mallory@2652 | 7 SHORT_DESC="Stjerm is a quake-like terminal emulator. It's window is shown with a key shortcut." |
mallory@2652 | 8 MAINTAINER="mallory@sweetpeople.org" |
mallory@2652 | 9 DEPENDS="vte" |
mallory@2652 | 10 BUILD_DEPENDS="vte-dev" |
mallory@2652 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
mallory@2652 | 12 WEB_SITE="http://code.google.com/p/$PACKAGE/" |
mallory@2652 | 13 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
mallory@2652 | 14 |
mallory@2652 | 15 # Rules to configure and make the package. |
mallory@2652 | 16 compile_rules() |
mallory@2652 | 17 { |
mallory@2652 | 18 cd $src |
mallory@2652 | 19 ./autogen.sh |
mallory@2652 | 20 ./configure \ |
mallory@2652 | 21 --prefix=/usr \ |
mallory@2652 | 22 --infodir=/usr/share/info \ |
mallory@2652 | 23 --mandir=/usr/share/man \ |
mallory@2652 | 24 $CONFIGURE_ARGS && |
mallory@2652 | 25 make && make DESTDIR=$PWD/_pkg install |
mallory@2652 | 26 } |
mallory@2652 | 27 |
mallory@2652 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2652 | 29 genpkg_rules() |
mallory@2652 | 30 { |
mallory@2652 | 31 mkdir -p $fs/usr |
mallory@2652 | 32 cp -a $_pkg/usr/bin $fs/usr |
mallory@2652 | 33 } |
mallory@2652 | 34 |