wok view xterm/receipt @ rev 15785

Up: OpenVPN (2.3.2)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 15 18:50:15 2014 +0100 (2014-01-15)
parents 40f7eb6c10f0
children 7bae09de1061
line source
1 # SliTaz package receipt.
3 PACKAGE="xterm"
4 VERSION="287"
5 CATEGORY="utilities"
6 SHORT_DESC="X Terminal emulator."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://invisible-island.net/xterm/"
11 WGET_URL="ftp://invisible-island.net/xterm/$TARBALL"
13 DEPENDS="expat fontconfig freetype ncurses xorg-libXft xorg-libXt xorg-libXaw"
14 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev ncurses-dev \
15 xorg-libXft-dev xorg-libXt-dev xorg-libXaw-dev imagemagick libltdl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 mkdir -p $DESTDIR/usr/share/pixmaps $DESTDIR/usr/share/applications
22 cp xterm.desktop $DESTDIR/usr/share/applications
23 convert icons/xterm_32x32.xpm $DESTDIR/usr/share/pixmaps/xterm.png
24 ./configure \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --mandir=/usr/share/man \
28 --localstatedir=/var \
29 --with-app-defaults=/usr/share/X11/app-defaults \
30 --enable-wide-chars \
31 --enable-freetype \
32 --enable-doublechars \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share $fs/usr
44 }