wok-next annotate xterm/receipt @ rev 10091

nasm: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 07:18:56 2011 +0000 (2011-05-20)
parents 054541cbfad4
children 22c1e510824b
rev   line source
pankso@23 1 # SliTaz package receipt.
pankso@23 2
pankso@23 3 PACKAGE="xterm"
slaxemulator@9489 4 VERSION="269"
pankso@201 5 CATEGORY="utilities"
pankso@23 6 SHORT_DESC="X Terminal emulator."
pankso@23 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@8955 8 DEPENDS="expat fontconfig freetype ncurses xorg-libXft xorg-libXt xorg-libXaw"
slaxemulator@8955 9 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev ncurses-dev \
slaxemulator@8955 10 xorg-libXft-dev xorg-libXt-dev xorg-libXaw-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
slaxemulator@9601 37 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@9601 38 cp -a $_pkg/usr/share/X11 $fs/usr/share
pankso@23 39 }