wok-next view libgdiplus/receipt @ rev 20062
Up libgdiplus (5.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 24 09:24:06 2017 +0200 (2017-10-24) |
parents | af8a8f177c6c |
children | a35937563ccc |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgdiplus"
4 VERSION="5.4"
5 CATEGORY="development"
6 SHORT_DESC="Mono library providing a GDI+ compatible API on non-Windows operating systems"
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.mono-project.com/Libgdiplus"
11 WGET_URL="https://github.com/mono/libgdiplus/archive/$VERSION.tar.gz"
13 BUILD_DEPENDS="m4 bison pkg-config glib-dev xorg-dev libxml2-dev \
14 cairo-dev expat-dev freetype-dev fontconfig-dev giflib giflib-dev jpeg-dev \
15 libpng-dev tiff-dev pixman-dev libexif-dev libexif zlib-dev \
16 util-linux-uuid-dev automake autoconf libtool"
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 ./autogen.sh
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 case $PACKAGE in
40 libgdiplus)
41 DEPENDS="glib glibc-base xorg-libICE xorg-libSM xorg-libX11 \
42 xorg-libXau xorg-libXdmcp xorg-libXrender cairo expat \
43 freetype fontconfig giflib jpeg libpng tiff pixman \
44 libexif zlib util-linux-uuid"
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 ;;
48 libgdiplus-dev)
49 CAT="development|libgdiplus development files."
50 DEPENDS="libgdiplus pkg-config"
51 mkdir -p $fs/usr/lib
52 cp -a $install/usr/lib/*.*a $fs/usr/lib
53 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
54 ;;
55 esac
56 }