wok-next view libgdiplus/receipt @ rev 12319
libgdiplus: Add --with-cairo=system option. Clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 07:28:39 2012 +0000 (2012-04-19) |
parents | 0cfef3fa4561 |
children | 73641efed1cc |
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-ng-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-ng-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 }