wok-6.x annotate xterm/receipt @ rev 11843
perl-http-message: Sync with wok-tank.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Feb 27 01:16:43 2012 -0500 (2012-02-27) |
parents | 93e96ae3bf16 |
children | 06f532ae65c8 |
rev | line source |
---|---|
pankso@23 | 1 # SliTaz package receipt. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="xterm" |
slaxemulator@11126 | 4 VERSION="276" |
pankso@201 | 5 CATEGORY="utilities" |
pankso@23 | 6 SHORT_DESC="X Terminal emulator." |
pankso@23 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@11126 | 8 TARBALL="$PACKAGE-$VERSION.tgz" |
slaxemulator@11126 | 9 WEB_SITE="http://invisible-island.net/xterm/" |
slaxemulator@11126 | 10 WGET_URL="ftp://invisible-island.net/xterm/$TARBALL" |
slaxemulator@11126 | 11 |
slaxemulator@8955 | 12 DEPENDS="expat fontconfig freetype ncurses xorg-libXft xorg-libXt xorg-libXaw" |
slaxemulator@8955 | 13 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev ncurses-dev \ |
pascal@11148 | 14 xorg-libXft-dev xorg-libXt-dev xorg-libXaw-dev imagemagick" |
pankso@23 | 15 |
pankso@23 | 16 # Rules to configure and make the package. |
pankso@23 | 17 compile_rules() |
pankso@23 | 18 { |
pankso@23 | 19 cd $src |
pascal@11148 | 20 mkdir -p $DESTDIR/usr/share/pixmaps $DESTDIR/usr/share/applications |
pascal@11148 | 21 cp xterm.desktop $DESTDIR/usr/share/applications |
pascal@11148 | 22 convert icons/xterm_32x32.xpm $DESTDIR/usr/share/pixmaps/xterm.png |
pankso@225 | 23 ./configure \ |
pankso@225 | 24 --prefix=/usr \ |
pankso@225 | 25 --sysconfdir=/etc \ |
pankso@225 | 26 --mandir=/usr/share/man \ |
pankso@225 | 27 --localstatedir=/var \ |
pankso@225 | 28 --with-app-defaults=/usr/share/X11/app-defaults \ |
pankso@2740 | 29 --enable-wide-chars \ |
pankso@2740 | 30 --enable-freetype \ |
pankso@2740 | 31 --enable-doublechars \ |
pankso@2594 | 32 $CONFIGURE_ARGS && |
pankso@2594 | 33 make && |
slaxemulator@11126 | 34 make DESTDIR=$DESTDIR install |
pankso@23 | 35 } |
pankso@23 | 36 |
pankso@23 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@23 | 38 genpkg_rules() |
pankso@23 | 39 { |
pascal@11149 | 40 mkdir -p $fs/usr |
slaxemulator@9601 | 41 cp -a $_pkg/usr/bin $fs/usr |
pascal@11149 | 42 cp -a $_pkg/usr/share $fs/usr |
pankso@23 | 43 } |