wok view libgdiplus/receipt @ rev 24170
updated otf-gfs
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 29 07:55:54 2021 +0100 (2021-12-29) |
parents | 9926332fcfee |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgdiplus"
4 VERSION="6.0.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 WEB_SITE="https://www.mono-project.com/Libgdiplus"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/mono/$PACKAGE/archive/$VERSION/$TARBALL"
14 DEPENDS="glib glibc-base cairo expat fontconfig freetype giflib jpeg
15 libexif libpng pixman tiff util-linux-uuid xorg-libICE
16 xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXrender
17 zlib"
18 BUILD_DEPENDS="autoconf automake bison cairo-dev expat-dev fontconfig-dev
19 freetype-dev gcc83 giflib-dev glib-dev jpeg-dev libexif-dev
20 libpng-dev libtool libxml2-dev m4 pixman-dev pkg-config tiff-dev
21 util-linux-uuid-dev xorg-dev zlib-dev"
23 # Build documentation at http://mono-project.com/Compiling_Mono
24 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4
26 current_version()
27 {
28 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
29 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 ./autogen.sh \
36 --prefix=/usr \
37 --infodir=/usr/share/info \
38 --mandir=/usr/share/man \
39 --sysconfdir=/etc \
40 --with-cairo=system \
41 $CONFIGURE_ARGS &&
42 make &&
43 make DESTDIR=$DESTDIR install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/lib
50 cp -a $install/usr/lib/*.so* $fs/usr/lib
51 }