wok-6.x annotate xterm/receipt @ rev 13477
testdisk add ntfs support in bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 10 09:44:15 2012 +0200 (2012-10-10) |
parents | 18bf9b14ced1 |
children | 951edf178257 |
rev | line source |
---|---|
pankso@23 | 1 # SliTaz package receipt. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="xterm" |
slaxemulator@13093 | 4 VERSION="281" |
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@13093 | 41 cp -a $install/usr/bin $fs/usr |
slaxemulator@13093 | 42 cp -a $install/usr/share $fs/usr |
pankso@23 | 43 } |