wok-next annotate xterm/receipt @ rev 4289
kobodeluxe: fix build with glibc-2.10
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 26 14:34:42 2009 +0200 (2009-09-26) |
parents | bd268e22d144 |
children | b098b761931d |
rev | line source |
---|---|
pankso@23 | 1 # SliTaz package receipt. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="xterm" |
pankso@2594 | 4 VERSION="243" |
pankso@201 | 5 CATEGORY="utilities" |
pankso@23 | 6 SHORT_DESC="X Terminal emulator." |
pankso@23 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2415 | 8 DEPENDS="xorg expat fontconfig freetype ncurses xorg-libXft" |
pankso@2740 | 9 BUILD_DEPENDS="xorg-dev expat-dev fontconfig-dev freetype-dev ncurses-dev \ |
pankso@2740 | 10 xorg-libXft-dev" |
pankso@23 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
pankso@23 | 12 WEB_SITE="http://invisible-island.net/xterm/" |
pankso@23 | 13 WGET_URL="ftp://invisible-island.net/xterm/$TARBALL" |
pankso@23 | 14 |
pankso@23 | 15 # Rules to configure and make the package. |
pankso@23 | 16 compile_rules() |
pankso@23 | 17 { |
pankso@23 | 18 cd $src |
pankso@225 | 19 ./configure \ |
pankso@225 | 20 --prefix=/usr \ |
pankso@225 | 21 --sysconfdir=/etc \ |
pankso@225 | 22 --mandir=/usr/share/man \ |
pankso@225 | 23 --localstatedir=/var \ |
pankso@225 | 24 --with-app-defaults=/usr/share/X11/app-defaults \ |
pankso@2740 | 25 --enable-wide-chars \ |
pankso@2740 | 26 --enable-freetype \ |
pankso@2740 | 27 --enable-doublechars \ |
pankso@2594 | 28 $CONFIGURE_ARGS && |
pankso@2594 | 29 make && |
pankso@23 | 30 make DESTDIR=$PWD/_pkg install |
pankso@23 | 31 } |
pankso@23 | 32 |
pankso@23 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@23 | 34 genpkg_rules() |
pankso@23 | 35 { |
pankso@225 | 36 mkdir -p $fs/usr/share |
pankso@23 | 37 cp -a $_pkg/usr/bin $fs/usr |
pankso@23 | 38 cp -a $_pkg/usr/share/X11 $fs/usr/share |
pankso@23 | 39 } |