wok view xterm/receipt @ rev 14698
Add perl-cgi, perl-config-general, perl-http-server-simple, perl-mailtools, perl-mime-lite, perl-mime-types
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 07 16:21:22 2013 +0200 (2013-06-07) |
parents | 951edf178257 |
children | 23c3aed67cd9 |
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 TARBALL="$PACKAGE-$VERSION.tgz"
9 WEB_SITE="http://invisible-island.net/xterm/"
10 WGET_URL="ftp://invisible-island.net/xterm/$TARBALL"
12 DEPENDS="expat fontconfig freetype ncurses xorg-libXft xorg-libXt xorg-libXaw"
13 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev ncurses-dev \
14 xorg-libXft-dev xorg-libXt-dev xorg-libXaw-dev imagemagick libltdl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 mkdir -p $DESTDIR/usr/share/pixmaps $DESTDIR/usr/share/applications
21 cp xterm.desktop $DESTDIR/usr/share/applications
22 convert icons/xterm_32x32.xpm $DESTDIR/usr/share/pixmaps/xterm.png
23 ./configure \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --mandir=/usr/share/man \
27 --localstatedir=/var \
28 --with-app-defaults=/usr/share/X11/app-defaults \
29 --enable-wide-chars \
30 --enable-freetype \
31 --enable-doublechars \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/share $fs/usr
43 }