wok-current diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/freetype1/receipt	Sun Feb 08 16:51:50 2009 +0000
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="freetype1"
     1.7 +SOURCE="freetype"
     1.8 +VERSION="1.3.1"
     1.9 +CATEGORY="x-window"
    1.10 +SHORT_DESC="Freetype1 font engine."
    1.11 +MAINTAINER="rcx@zoominternet.net"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.freetype.org/"
    1.14 +WGET_URL="http://superb-east.dl.sourceforge.net/sourceforge/freetype/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	# NOTE: DESTDIR is not recognized by freetype1 make install
    1.20 +
    1.21 +	cd $src
    1.22 +	./configure \
    1.23 +		--sysconfdir=$PWD/_pkg/etc \
    1.24 +		--prefix=$PWD/_pkg/usr \
    1.25 +		--mandir=$PWD/_pkg/usr/share/man \
    1.26 +		--includedir=$PWD/_pkg/usr/include/freetype1 \
    1.27 +		--libdir=$PWD/_pkg/usr/lib \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make ttlib ttpo || return 1
    1.30 +
    1.31 +	pushd lib
    1.32 +	make DESTDIR=$PWD/_pkg -f arch/unix/Makefile install || return 1
    1.33 +	popd
    1.34 +	pushd po
    1.35 +	make DESTDIR=$PWD/_pkg -f arch/unix/Makefile install || return 1
    1.36 +	popd
    1.37 +}
    1.38 +
    1.39 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 +genpkg_rules()
    1.41 +{
    1.42 +	mkdir -p $fs/usr/lib
    1.43 +	cp -a $_pkg/usr/bin $fs/usr
    1.44 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.45 +}