wok-next annotate freetype/receipt @ rev 2389
cyrus-imapd: fix chroot in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 10 08:58:14 2009 +0000 (2009-03-10) |
parents | 7da59b02ab60 |
children | 3eacc9c96968 |
rev | line source |
---|---|
pankso@21 | 1 # SliTaz package receipt. |
pankso@21 | 2 |
pankso@21 | 3 PACKAGE="freetype" |
pankso@972 | 4 VERSION="2.3.7" |
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" |
pankso@21 | 11 |
pankso@21 | 12 # Rules to configure and make the package. |
pankso@21 | 13 compile_rules() |
pankso@21 | 14 { |
pankso@972 | 15 cd $src |
pankso@972 | 16 ./configure \ |
pankso@972 | 17 --sysconfdir=/etc \ |
pankso@972 | 18 --prefix=/usr \ |
pankso@972 | 19 --mandir=/usr/share/man \ |
pankso@972 | 20 $CONFIGURE_ARGS |
pankso@972 | 21 make |
pankso@972 | 22 make DESTDIR=$PWD/_pkg install |
pankso@21 | 23 } |
pankso@21 | 24 |
pankso@21 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@21 | 26 genpkg_rules() |
pankso@21 | 27 { |
pankso@21 | 28 mkdir -p $fs/usr/lib |
pankso@972 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@972 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@21 | 31 } |