wok annotate libgdiplus/receipt @ rev 25476
Up foomatic-db-nonfree (20221012)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 13 16:28:13 2022 +0000 (2022-10-13) |
parents | ac8ca9758df1 |
children | 7364ffdaaa60 |
rev | line source |
---|---|
rcx@3219 | 1 # SliTaz package receipt. |
rcx@3219 | 2 |
rcx@3219 | 3 PACKAGE="libgdiplus" |
Hans-G?nter@24792 | 4 VERSION="6.0.5" |
rcx@3219 | 5 CATEGORY="development" |
Hans-G?nter@23032 | 6 SHORT_DESC="Mono library providing a GDI+ compatible API on non-Windows operating systems." |
rcx@3219 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@14714 | 8 LICENSE="MIT" |
Hans-G?nter@24792 | 9 WEB_SITE="https://www.mono-project.com/docs/gui/libgdiplus/" |
pascal@14714 | 10 |
Hans-G?nter@23032 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24792 | 12 WGET_URL="https://download.mono-project.com/sources/$PACKAGE/$TARBALL" |
Hans-G?nter@23032 | 13 |
Hans-G?nter@24792 | 14 DEPENDS="cairo expat fontconfig freetype giflib glib glibc-base |
Hans-G?nter@24792 | 15 jpeg libexif libpng pixman tiff util-linux-uuid |
Hans-G?nter@24792 | 16 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau |
Hans-G?nter@24792 | 17 xorg-libXdmcp xorg-libXrender zlib" |
Hans-G?nter@24792 | 18 BUILD_DEPENDS="bison cairo-dev expat-dev fontconfig-dev |
Hans-G?nter@24792 | 19 freetype-dev giflib giflib-dev glib-dev jpeg-dev |
Hans-G?nter@24792 | 20 libexif libexif-dev libpng-dev libxml2-dev m4 |
Hans-G?nter@24792 | 21 pixman-dev pkg-config tiff-dev util-linux-uuid-dev xorg-dev |
Hans-G?nter@24792 | 22 zlib-dev" |
rcx@3219 | 23 |
rcx@3219 | 24 # Build documentation at http://mono-project.com/Compiling_Mono |
rcx@3219 | 25 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4 |
rcx@3219 | 26 |
pascal@24055 | 27 current_version() |
pascal@24055 | 28 { |
pascal@24299 | 29 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 30 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 31 } |
pascal@24055 | 32 |
rcx@3219 | 33 # Rules to configure and make the package. |
rcx@3219 | 34 compile_rules() |
rcx@3219 | 35 { |
Hans-G?nter@24792 | 36 ./configure \ |
Hans-G?nter@23032 | 37 --prefix=/usr \ |
Hans-G?nter@23032 | 38 --infodir=/usr/share/info \ |
Hans-G?nter@23032 | 39 --mandir=/usr/share/man \ |
Hans-G?nter@23032 | 40 --sysconfdir=/etc \ |
Hans-G?nter@23032 | 41 $CONFIGURE_ARGS && |
Hans-G?nter@24792 | 42 make && |
Hans-G?nter@24792 | 43 make install DESTDIR=$DESTDIR |
rcx@3219 | 44 } |
rcx@3219 | 45 |
rcx@3219 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3219 | 47 genpkg_rules() |
rcx@3219 | 48 { |
Hans-G?nter@24792 | 49 cook_copy_files *.so* |
Hans-G?nter@23032 | 50 } |