wok annotate freetype1/receipt @ rev 13213

gnustep-gui: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 08 09:06:49 2012 +0200 (2012-08-08)
parents c54710fa97f6
children 7bb096863642
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"
pascal@2175 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@2175 11 WEB_SITE="http://www.freetype.org/"
rcx@3456 12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
pascal@2175 13
pascal@2175 14 # Rules to configure and make the package.
pascal@2175 15 compile_rules()
pascal@2175 16 {
pascal@2175 17 # NOTE: DESTDIR is not recognized by freetype1 make install
pascal@2175 18
pascal@2175 19 cd $src
pascal@2175 20 ./configure \
pascal@2175 21 --sysconfdir=$PWD/_pkg/etc \
pascal@2175 22 --prefix=$PWD/_pkg/usr \
pascal@2175 23 --mandir=$PWD/_pkg/usr/share/man \
rcx@3143 24 --includedir=$PWD/_pkg/usr/include \
pascal@2175 25 --libdir=$PWD/_pkg/usr/lib \
rcx@3456 26 --with-x --enable-gif \
pascal@2175 27 $CONFIGURE_ARGS &&
pascal@2175 28 make ttlib ttpo || return 1
pascal@2175 29
pascal@2179 30 cd lib
pascal@2175 31 make DESTDIR=$PWD/_pkg -f arch/unix/Makefile install || return 1
pascal@2179 32 cd ../po
pascal@2179 33 make DESTDIR=$PWD/_pkg -f Makefile install || return 1
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/lib/*.so* $fs/usr/lib
pascal@2175 41 }