wok-next view libgdiplus/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 757d032c55c7
children 5669e8b3be70
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 \
7 operating systems"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.mono-project.com/Libgdiplus/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/mono/libgdiplus/archive/$VERSION.tar.gz"
15 BUILD_DEPENDS="m4 bison glib-dev xorg-dev libxml2-dev \
16 cairo-dev expat-dev freetype-dev fontconfig-dev giflib giflib-dev jpeg-dev \
17 libpng16-dev tiff-dev xorg-pixman-dev libexif-dev libexif zlib-dev \
18 util-linux-uuid-dev automake autoconf libtool"
19 SPLIT="$PACKAGE-dev"
21 # Build documentation at http://mono-project.com/Compiling_Mono
22 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4
24 compile_rules() {
25 ./autogen.sh
26 ./configure \
27 --with-cairo=system \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make DESTDIR=$install install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 libgdiplus)
37 copy @std
38 DEPENDS="glib glibc-base xorg-libICE xorg-libSM xorg-libX11 \
39 xorg-libXau xorg-libXdmcp xorg-libXrender cairo expat \
40 freetype fontconfig giflib jpeg libpng16 tiff xorg-pixman \
41 libexif zlib util-linux-uuid"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }