wok-next view libgdiplus/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | bce36a298f1e |
children | d43bf7aae921 |
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 libpng16-dev tiff-dev xorg-pixman-dev libexif-dev libexif zlib-dev \
16 util-linux-uuid-dev automake autoconf libtool"
17 SPLIT="libgdiplus-dev"
19 # Build documentation at http://mono-project.com/Compiling_Mono
20 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./autogen.sh
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 --sysconfdir=/etc \
31 --with-cairo=system \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 case $PACKAGE in
41 libgdiplus)
42 DEPENDS="glib glibc-base xorg-libICE xorg-libSM xorg-libX11 \
43 xorg-libXau xorg-libXdmcp xorg-libXrender cairo expat \
44 freetype fontconfig giflib jpeg libpng16 tiff xorg-pixman \
45 libexif zlib util-linux-uuid"
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 ;;
49 libgdiplus-dev)
50 CAT="development|libgdiplus development files."
51 DEPENDS="libgdiplus pkg-config"
52 mkdir -p $fs/usr/lib
53 cp -a $install/usr/lib/*.*a $fs/usr/lib
54 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
55 ;;
56 esac
57 }