wok-6.x annotate freetype1/receipt @ rev 2979
opal-dev: fix path for libopal_s.a
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 11 02:14:35 2009 +0200 (2009-05-11) |
parents | 91687d82cc8a |
children | 22feedab4b8f |
rev | line source |
---|---|
pascal@2175 | 1 # SliTaz package receipt. |
pascal@2175 | 2 |
pascal@2175 | 3 PACKAGE="freetype1" |
pascal@2175 | 4 SOURCE="freetype" |
pascal@2175 | 5 VERSION="1.3.1" |
pascal@2175 | 6 CATEGORY="x-window" |
pascal@2175 | 7 SHORT_DESC="Freetype1 font engine." |
pascal@2175 | 8 MAINTAINER="rcx@zoominternet.net" |
pascal@2175 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2175 | 10 WEB_SITE="http://www.freetype.org/" |
pascal@2175 | 11 WGET_URL="http://superb-east.dl.sourceforge.net/sourceforge/freetype/$TARBALL" |
pascal@2175 | 12 |
pascal@2175 | 13 # Rules to configure and make the package. |
pascal@2175 | 14 compile_rules() |
pascal@2175 | 15 { |
pascal@2175 | 16 # NOTE: DESTDIR is not recognized by freetype1 make install |
pascal@2175 | 17 |
pascal@2175 | 18 cd $src |
pascal@2175 | 19 ./configure \ |
pascal@2175 | 20 --sysconfdir=$PWD/_pkg/etc \ |
pascal@2175 | 21 --prefix=$PWD/_pkg/usr \ |
pascal@2175 | 22 --mandir=$PWD/_pkg/usr/share/man \ |
pascal@2175 | 23 --includedir=$PWD/_pkg/usr/include/freetype1 \ |
pascal@2175 | 24 --libdir=$PWD/_pkg/usr/lib \ |
pascal@2175 | 25 $CONFIGURE_ARGS && |
pascal@2175 | 26 make ttlib ttpo || return 1 |
pascal@2175 | 27 |
pascal@2179 | 28 cd lib |
pascal@2175 | 29 make DESTDIR=$PWD/_pkg -f arch/unix/Makefile install || return 1 |
pascal@2179 | 30 cd ../po |
pascal@2179 | 31 make DESTDIR=$PWD/_pkg -f Makefile install || return 1 |
pascal@2175 | 32 } |
pascal@2175 | 33 |
pascal@2175 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2175 | 35 genpkg_rules() |
pascal@2175 | 36 { |
pascal@2175 | 37 mkdir -p $fs/usr/lib |
pascal@2175 | 38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@2175 | 39 } |