wok-stable annotate freetype/receipt @ rev 4273
cyrus-sasl: fix build with gcc-4.x
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 25 23:47:12 2009 +0200 (2009-09-25) |
parents | 3eacc9c96968 |
children | a4786da7c34b |
rev | line source |
---|---|
pankso@21 | 1 # SliTaz package receipt. |
pankso@21 | 2 |
pankso@21 | 3 PACKAGE="freetype" |
pankso@2793 | 4 VERSION="2.3.9" |
pankso@21 | 5 CATEGORY="x-window" |
pankso@21 | 6 SHORT_DESC="Freetype font engine." |
pankso@21 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@21 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@21 | 9 WEB_SITE="http://www.freetype.org/" |
pankso@21 | 10 WGET_URL="http://download.savannah.gnu.org/releases/freetype/$TARBALL" |
pascal@2486 | 11 DEPENDS="zlib" |
pankso@21 | 12 |
pankso@21 | 13 # Rules to configure and make the package. |
pankso@21 | 14 compile_rules() |
pankso@21 | 15 { |
pankso@972 | 16 cd $src |
pankso@972 | 17 ./configure \ |
pankso@972 | 18 --sysconfdir=/etc \ |
pankso@972 | 19 --prefix=/usr \ |
pankso@972 | 20 --mandir=/usr/share/man \ |
pascal@2486 | 21 $CONFIGURE_ARGS && |
pascal@2486 | 22 make && |
pankso@972 | 23 make DESTDIR=$PWD/_pkg install |
pankso@21 | 24 } |
pankso@21 | 25 |
pankso@21 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@21 | 27 genpkg_rules() |
pankso@21 | 28 { |
pankso@21 | 29 mkdir -p $fs/usr/lib |
pankso@972 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@972 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@21 | 32 } |