wok view libgdiplus/receipt @ rev 13051

php, php-gd: Add freetype support
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jun 18 22:02:23 2012 +0200 (2012-06-18)
parents e0c8ce918b56
children 4904e3d374a9
line source
1 # SliTaz package receipt.
3 PACKAGE="libgdiplus"
4 VERSION="2.10"
5 CATEGORY="development"
6 SHORT_DESC="Mono library providing a GDI+ compatible API on non-Windows operating systems"
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glib glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \
9 xorg-libXdmcp xorg-libXrender cairo expat freetype fontconfig \
10 giflib jpeg libpng tiff pixman libexif zlib util-linux-uuid"
11 BUILD_DEPENDS="m4 bison pkg-config glib-dev xorg-dev \
12 cairo-dev expat-dev freetype-dev fontconfig-dev giflib giflib-dev jpeg-dev \
13 libpng-dev tiff-dev pixman-dev libexif-dev libexif zlib-dev util-linux-uuid-dev"
14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
15 WEB_SITE="http://www.mono-project.com/Libgdiplus"
16 WGET_URL="ftp://ftp.novell.com/pub/mono/sources/$PACKAGE/$TARBALL"
18 # Build documentation at http://mono-project.com/Compiling_Mono
19 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 --sysconfdir=/etc \
30 --with-cairo=system \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
41 }