wok annotate fox14/receipt @ rev 12916
glibc-base: handle cross installation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 29 18:13:06 2012 +0000 (2012-05-29) |
parents | 2fa67f6d1db4 |
children | 76b72f1ad63c |
rev | line source |
---|---|
allan316@3740 | 1 # SliTaz package receipt. |
allan316@3740 | 2 |
allan316@3740 | 3 PACKAGE="fox14" |
allan316@3740 | 4 SOURCE="fox" |
allan316@3740 | 5 VERSION="1.4.35" |
allan316@3740 | 6 CATEGORY="x-window" |
allan316@3740 | 7 SHORT_DESC="Fox toolkit." |
allan316@3740 | 8 MAINTAINER="pankso@slitaz.org" |
allan316@3740 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@6970 | 10 DEPENDS="libpng jpeg tiff xorg-libXft bzlib mesa libglu-mesa" |
slaxemulator@9269 | 11 BUILD_DEPENDS="libpng jpeg tiff xorg-libXft bzlib \ |
pascal@9262 | 12 xorg-libXrender xorg-libXrender-dev fontconfig fontconfig-dev freetype freetype-dev \ |
pascal@12725 | 13 libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa libglu-mesa expat-dev" |
allan316@3740 | 14 SUGGESTED="adie calculator pathfinder shutterbug" |
allan316@3740 | 15 WEB_SITE="http://www.fox-toolkit.org/" |
pascal@12723 | 16 WGET_URL="http://ftp.fox-toolkit.org/pub/$TARBALL" |
allan316@3740 | 17 |
allan316@3740 | 18 # Rules to configure and make the package. |
allan316@3740 | 19 compile_rules() |
allan316@3740 | 20 { |
allan316@3740 | 21 cd $src |
pascal@12784 | 22 sed -i 's/(gzFile\*)/(gzFile)/' src/FXGZStream.cpp |
pascal@9261 | 23 ./configure LDFLAGS="-lXft -lfreetype -lfontconfig -lXrender" \ |
allan316@3740 | 24 --prefix=/usr \ |
allan316@3740 | 25 --mandir=/usr/share/man \ |
allan316@3740 | 26 --with-xft \ |
allan316@3740 | 27 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 28 make $MAKEFLAGS && |
allan316@3740 | 29 make DESTDIR=$PWD/_pkg install |
allan316@3740 | 30 } |
allan316@3740 | 31 |
allan316@3740 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3740 | 33 genpkg_rules() |
allan316@3740 | 34 { |
allan316@3740 | 35 mkdir -p $fs/usr/lib |
allan316@3740 | 36 cp -a $_pkg/usr/bin $fs/usr |
allan316@3740 | 37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
allan316@3740 | 38 } |