wok annotate aterm/receipt @ rev 2336
Syslinux: rename common.inc to common.cfg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 01 11:02:24 2009 +0000 (2009-03-01) |
parents | f08ead2d5191 |
children | f4fd0777003f |
rev | line source |
---|---|
allan316@1350 | 1 # SliTaz package receipt. |
allan316@1350 | 2 |
allan316@1350 | 3 PACKAGE="aterm" |
allan316@1350 | 4 VERSION="1.0.1" |
allan316@1350 | 5 CATEGORY="misc" |
allan316@1350 | 6 SHORT_DESC="terminal emulator" |
allan316@1350 | 7 MAINTAINER="allan316@gmail.com" |
pascal@1460 | 8 DEPENDS="xorg" |
pascal@1514 | 9 BUILD_DEPENDS="xorg-dev xorg-libXt-dev" |
allan316@1350 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@1350 | 11 WEB_SITE="http://aterm.sourceforge.net" |
allan316@1350 | 12 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/aterm/$TARBALL" |
allan316@1350 | 13 |
allan316@1350 | 14 # Rules to configure and make the package. |
allan316@1350 | 15 compile_rules() |
allan316@1350 | 16 { |
allan316@1350 | 17 cd $src |
allan316@1350 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1460 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1460 | 20 make && |
allan316@1350 | 21 make DESTDIR=$PWD/_pkg install |
allan316@1350 | 22 } |
allan316@1350 | 23 |
allan316@1350 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@1350 | 25 genpkg_rules() |
allan316@1350 | 26 { |
allan316@1350 | 27 mkdir -p $fs/usr |
allan316@1350 | 28 cp -a $_pkg/usr/bin $fs/usr |
allan316@1350 | 29 strip -s $fs/usr/bin/* |
allan316@1350 | 30 } |
allan316@1350 | 31 |