wok-next view libgdiplus/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 75632eca5b07
children
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 libpng-dev tiff-dev 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 libice libsm libx11 \
39 libxau libxdmcp libxrender libcairo expat \
40 freetype fontconfig giflib jpeg libpng libtiff pixman \
41 libexif zlib util-linux-uuid"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }