wok 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 | e620297fff00 |
children | 51c6f8c526bb |
files | freetype1-dev/receipt freetype1/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/freetype1-dev/receipt Sun Feb 08 16:51:50 2009 +0000 1.3 @@ -0,0 +1,21 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="freetype1-dev" 1.7 +VERSION="1.3.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Freetype1 font engine devel files." 1.10 +WEB_SITE="http://www.freetype.org/" 1.11 +MAINTAINER="rcx@zoominternet.net" 1.12 +WANTED="freetype1" 1.13 +SOURCE="freetype" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib 1.19 + _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg 1.20 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.21 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.22 + cp -a $_pkg/usr/include $fs/usr 1.23 + cp -a $_pkg/usr/share $fs/usr 1.24 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/freetype1/receipt Sun Feb 08 16:51:50 2009 +0000 2.3 @@ -0,0 +1,42 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="freetype1" 2.7 +SOURCE="freetype" 2.8 +VERSION="1.3.1" 2.9 +CATEGORY="x-window" 2.10 +SHORT_DESC="Freetype1 font engine." 2.11 +MAINTAINER="rcx@zoominternet.net" 2.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.13 +WEB_SITE="http://www.freetype.org/" 2.14 +WGET_URL="http://superb-east.dl.sourceforge.net/sourceforge/freetype/$TARBALL" 2.15 + 2.16 +# Rules to configure and make the package. 2.17 +compile_rules() 2.18 +{ 2.19 + # NOTE: DESTDIR is not recognized by freetype1 make install 2.20 + 2.21 + cd $src 2.22 + ./configure \ 2.23 + --sysconfdir=$PWD/_pkg/etc \ 2.24 + --prefix=$PWD/_pkg/usr \ 2.25 + --mandir=$PWD/_pkg/usr/share/man \ 2.26 + --includedir=$PWD/_pkg/usr/include/freetype1 \ 2.27 + --libdir=$PWD/_pkg/usr/lib \ 2.28 + $CONFIGURE_ARGS && 2.29 + make ttlib ttpo || return 1 2.30 + 2.31 + pushd lib 2.32 + make DESTDIR=$PWD/_pkg -f arch/unix/Makefile install || return 1 2.33 + popd 2.34 + pushd po 2.35 + make DESTDIR=$PWD/_pkg -f arch/unix/Makefile install || return 1 2.36 + popd 2.37 +} 2.38 + 2.39 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.40 +genpkg_rules() 2.41 +{ 2.42 + mkdir -p $fs/usr/lib 2.43 + cp -a $_pkg/usr/bin $fs/usr 2.44 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.45 +}