wok-current annotate freetype1/receipt @ rev 2175
Add freetype1 (thanks Matthew)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 08 16:51:50 2009 +0000 (2009-02-08) |
parents | |
children | 7f5e5c66d1ae |
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@2175 | 28 pushd lib |
pascal@2175 | 29 make DESTDIR=$PWD/_pkg -f arch/unix/Makefile install || return 1 |
pascal@2175 | 30 popd |
pascal@2175 | 31 pushd po |
pascal@2175 | 32 make DESTDIR=$PWD/_pkg -f arch/unix/Makefile install || return 1 |
pascal@2175 | 33 popd |
pascal@2175 | 34 } |
pascal@2175 | 35 |
pascal@2175 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2175 | 37 genpkg_rules() |
pascal@2175 | 38 { |
pascal@2175 | 39 mkdir -p $fs/usr/lib |
pascal@2175 | 40 cp -a $_pkg/usr/bin $fs/usr |
pascal@2175 | 41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@2175 | 42 } |