wok-stable annotate fontconfig/receipt @ rev 11486
sdcc: add flex as build_depend
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Dec 18 03:02:00 2011 +0100 (2011-12-18) |
parents | af928fecc8ab |
children |
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@10293 | 23 --with-arch=$ARCH \ |
pankso@3852 | 24 $CONFIGURE_ARGS && |
pankso@3852 | 25 make && make DESTDIR=$PWD/_pkg install |
pankso@21 | 26 } |
pankso@21 | 27 |
pankso@21 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@21 | 29 genpkg_rules() |
pankso@21 | 30 { |
pankso@21 | 31 mkdir -p $fs/usr/lib |
pankso@1812 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@1812 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@1812 | 34 cp -a $_pkg/etc $fs |
pankso@1812 | 35 cp -a $_pkg/var $fs |
pankso@21 | 36 } |