wok annotate xterm/receipt @ rev 1536
hal: update BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 09 19:43:58 2008 +0000 (2008-10-09) |
parents | c1f3553474f2 |
children | c3afee3c7687 |
rev | line source |
---|---|
pankso@23 | 1 # SliTaz package receipt. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="xterm" |
pankso@645 | 4 VERSION="235" |
pankso@201 | 5 CATEGORY="utilities" |
pankso@23 | 6 SHORT_DESC="X Terminal emulator." |
pankso@23 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@23 | 8 DEPENDS="xorg" |
pankso@225 | 9 BUILD_DEPENDS="xorg-dev" |
pankso@23 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pankso@23 | 11 WEB_SITE="http://invisible-island.net/xterm/" |
pankso@23 | 12 WGET_URL="ftp://invisible-island.net/xterm/$TARBALL" |
pankso@23 | 13 |
pankso@23 | 14 # Rules to configure and make the package. |
pankso@23 | 15 compile_rules() |
pankso@23 | 16 { |
pankso@23 | 17 cd $src |
pankso@225 | 18 ./configure \ |
pankso@225 | 19 --prefix=/usr \ |
pankso@225 | 20 --sysconfdir=/etc \ |
pankso@225 | 21 --mandir=/usr/share/man \ |
pankso@225 | 22 --localstatedir=/var \ |
pankso@225 | 23 --with-app-defaults=/usr/share/X11/app-defaults \ |
pankso@225 | 24 $CONFIGURE_ARGS |
pankso@23 | 25 make |
pankso@23 | 26 make DESTDIR=$PWD/_pkg install |
pankso@23 | 27 } |
pankso@23 | 28 |
pankso@23 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@23 | 30 genpkg_rules() |
pankso@23 | 31 { |
pankso@225 | 32 mkdir -p $fs/usr/share |
pankso@23 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@23 | 34 cp -a $_pkg/usr/share/X11 $fs/usr/share |
pankso@23 | 35 } |