wok annotate freetype/receipt @ rev 5025
midori: improve receipt and deps (under 5MB!! now)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Mar 02 10:45:18 2010 +0000 (2010-03-02) |
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 } |