wok annotate fontconfig/receipt @ rev 8396
Up: gcc+gcj to 4.5.2. Added SRC_WANTED to it.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 05 00:39:11 2011 +0000 (2011-02-05) |
parents | fab58e610f68 |
children | b60c56ce695d |
rev | line source |
---|---|
pankso@21 | 1 # SliTaz package receipt. |
pankso@21 | 2 |
pankso@21 | 3 PACKAGE="fontconfig" |
slaxemulator@7458 | 4 VERSION="2.8.0" |
pankso@21 | 5 CATEGORY="x-window" |
pankso@21 | 6 SHORT_DESC="Font configuration utilities and library." |
pankso@21 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2486 | 8 DEPENDS="expat freetype zlib" |
pankso@1812 | 9 BUILD_DEPENDS="libxml2-dev freetype-dev" |
pankso@21 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@21 | 11 WEB_SITE="http://www.fontconfig.org/wiki/" |
pankso@21 | 12 WGET_URL="http://fontconfig.org/release/$TARBALL" |
pankso@21 | 13 |
pankso@21 | 14 # Rules to configure and make the package. |
pankso@21 | 15 compile_rules() |
pankso@21 | 16 { |
pankso@3852 | 17 cd $src |
pankso@3852 | 18 ./configure \ |
pankso@3852 | 19 --sysconfdir=/etc \ |
pankso@3852 | 20 --prefix=/usr \ |
pankso@3852 | 21 --mandir=/usr/share/man \ |
pankso@3852 | 22 --localstatedir=/var \ |
pankso@3852 | 23 $CONFIGURE_ARGS && |
pankso@3852 | 24 make && make DESTDIR=$PWD/_pkg install |
pankso@21 | 25 } |
pankso@21 | 26 |
pankso@21 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@21 | 28 genpkg_rules() |
pankso@21 | 29 { |
pankso@21 | 30 mkdir -p $fs/usr/lib |
pankso@1812 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@1812 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@1812 | 33 cp -a $_pkg/etc $fs |
pankso@1812 | 34 cp -a $_pkg/var $fs |
pankso@21 | 35 } |