wok-current annotate xterm/receipt @ rev 9345
xfsprogs: fix conpile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 18:21:21 2011 +0100 (2011-03-19) |
parents | 19dfcfbffdf2 |
children | 054541cbfad4 |
rev | line source |
---|---|
pankso@23 | 1 # SliTaz package receipt. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="xterm" |
slaxemulator@7537 | 4 VERSION="267" |
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 |
pankso@23 | 37 cp -a $_pkg/usr/bin $fs/usr |
pankso@23 | 38 cp -a $_pkg/usr/share/X11 $fs/usr/share |
pankso@23 | 39 } |