wok annotate fox14/receipt @ rev 21721
updated ptpython (0.28 -> 2.0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 12 14:57:36 2019 +0100 (2019-06-12) |
parents | 76b72f1ad63c |
children | bfabe25c21ff |
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" |
pascal@14996 | 9 LICENSE="LGPL2.1" |
allan316@3740 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14996 | 11 WEB_SITE="http://www.fox-toolkit.org/" |
pascal@14996 | 12 WGET_URL="http://ftp.fox-toolkit.org/pub/$TARBALL" |
pascal@14996 | 13 SUGGESTED="adie calculator pathfinder shutterbug" |
pascal@14996 | 14 |
slaxemulator@6970 | 15 DEPENDS="libpng jpeg tiff xorg-libXft bzlib mesa libglu-mesa" |
slaxemulator@9269 | 16 BUILD_DEPENDS="libpng jpeg tiff xorg-libXft bzlib \ |
pascal@9262 | 17 xorg-libXrender xorg-libXrender-dev fontconfig fontconfig-dev freetype freetype-dev \ |
pascal@14999 | 18 libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa libglu-mesa expat-dev libxml2-dev" |
allan316@3740 | 19 |
allan316@3740 | 20 # Rules to configure and make the package. |
allan316@3740 | 21 compile_rules() |
allan316@3740 | 22 { |
allan316@3740 | 23 cd $src |
pascal@12784 | 24 sed -i 's/(gzFile\*)/(gzFile)/' src/FXGZStream.cpp |
pascal@9261 | 25 ./configure LDFLAGS="-lXft -lfreetype -lfontconfig -lXrender" \ |
allan316@3740 | 26 --prefix=/usr \ |
allan316@3740 | 27 --mandir=/usr/share/man \ |
allan316@3740 | 28 --with-xft \ |
allan316@3740 | 29 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 30 make $MAKEFLAGS && |
pascal@14996 | 31 make DESTDIR=$DESTDIR install |
allan316@3740 | 32 } |
allan316@3740 | 33 |
allan316@3740 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3740 | 35 genpkg_rules() |
allan316@3740 | 36 { |
allan316@3740 | 37 mkdir -p $fs/usr/lib |
pascal@14996 | 38 cp -a $install/usr/bin $fs/usr |
pascal@14996 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
allan316@3740 | 40 } |