wok annotate freetype1/receipt @ rev 6005
leocad: Update wget URL
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Sat Aug 14 16:16:00 2010 +0000 (2010-08-14) |
parents | 22feedab4b8f |
children | 28148b876a49 |
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" |
rcx@3456 | 9 DEPENDS="glibc-base" |
rcx@3456 | 10 BUILD_DEPENDS="slitaz-toolchain" |
pascal@2175 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2175 | 12 WEB_SITE="http://www.freetype.org/" |
rcx@3456 | 13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
pascal@2175 | 14 |
pascal@2175 | 15 # Rules to configure and make the package. |
pascal@2175 | 16 compile_rules() |
pascal@2175 | 17 { |
pascal@2175 | 18 # NOTE: DESTDIR is not recognized by freetype1 make install |
pascal@2175 | 19 |
pascal@2175 | 20 cd $src |
pascal@2175 | 21 ./configure \ |
pascal@2175 | 22 --sysconfdir=$PWD/_pkg/etc \ |
pascal@2175 | 23 --prefix=$PWD/_pkg/usr \ |
pascal@2175 | 24 --mandir=$PWD/_pkg/usr/share/man \ |
rcx@3143 | 25 --includedir=$PWD/_pkg/usr/include \ |
pascal@2175 | 26 --libdir=$PWD/_pkg/usr/lib \ |
rcx@3456 | 27 --with-x --enable-gif \ |
pascal@2175 | 28 $CONFIGURE_ARGS && |
pascal@2175 | 29 make ttlib ttpo || return 1 |
pascal@2175 | 30 |
pascal@2179 | 31 cd lib |
pascal@2175 | 32 make DESTDIR=$PWD/_pkg -f arch/unix/Makefile install || return 1 |
pascal@2179 | 33 cd ../po |
pascal@2179 | 34 make DESTDIR=$PWD/_pkg -f Makefile install || return 1 |
pascal@2175 | 35 } |
pascal@2175 | 36 |
pascal@2175 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2175 | 38 genpkg_rules() |
pascal@2175 | 39 { |
pascal@2175 | 40 mkdir -p $fs/usr/lib |
pascal@2175 | 41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@2175 | 42 } |