wok-next annotate 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
rev   line source
pascal@20062 1 # SliTaz package receipt v2.
rcx@3219 2
rcx@3219 3 PACKAGE="libgdiplus"
pascal@20062 4 VERSION="5.4"
rcx@3219 5 CATEGORY="development"
al@20534 6 SHORT_DESC="Mono library providing a GDI+ compatible API on non-Windows \
al@20534 7 operating systems"
al@21020 8 MAINTAINER="devel@slitaz.org"
pascal@14714 9 LICENSE="MIT"
al@21020 10 WEB_SITE="https://www.mono-project.com/Libgdiplus/"
al@20534 11
pascal@20062 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20062 13 WGET_URL="https://github.com/mono/libgdiplus/archive/$VERSION.tar.gz"
pascal@14714 14
al@20513 15 BUILD_DEPENDS="m4 bison glib-dev xorg-dev libxml2-dev \
rcx@3949 16 cairo-dev expat-dev freetype-dev fontconfig-dev giflib giflib-dev jpeg-dev \
al@21078 17 libpng-dev tiff-dev pixman-dev libexif-dev libexif zlib-dev \
pascal@20062 18 util-linux-uuid-dev automake autoconf libtool"
al@21020 19 SPLIT="$PACKAGE-dev"
rcx@3219 20
rcx@3219 21 # Build documentation at http://mono-project.com/Compiling_Mono
rcx@3219 22 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4
rcx@3219 23
al@20534 24 compile_rules() {
pascal@20062 25 ./autogen.sh
rcx@3219 26 ./configure \
slaxemulator@12319 27 --with-cairo=system \
al@20534 28 $CONFIGURE_ARGS &&
al@20534 29 fix libtool &&
al@20534 30 make &&
al@21020 31 make DESTDIR=$install install
rcx@3219 32 }
rcx@3219 33
al@20534 34 genpkg_rules() {
pascal@20062 35 case $PACKAGE in
al@20534 36 libgdiplus)
al@20534 37 copy @std
al@21078 38 DEPENDS="glib glibc-base libice libsm libx11 \
al@21105 39 libxau libxdmcp libxrender libcairo expat \
al@21080 40 freetype fontconfig giflib jpeg libpng libtiff pixman \
pascal@20062 41 libexif zlib util-linux-uuid"
al@20534 42 ;;
al@20534 43 *-dev)
al@20534 44 copy @dev
al@20534 45 ;;
pascal@20062 46 esac
pascal@20062 47 }