wok-next diff libgdiplus/receipt @ rev 20669
vde2: up / fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 14:21:30 2018 +0300 (2018-05-11) |
parents | d43bf7aae921 |
children | d5aab818505e |
line diff
1.1 --- a/libgdiplus/receipt Wed Mar 21 15:58:17 2018 +0200 1.2 +++ b/libgdiplus/receipt Fri May 11 14:21:30 2018 +0300 1.3 @@ -3,11 +3,13 @@ 1.4 PACKAGE="libgdiplus" 1.5 VERSION="5.4" 1.6 CATEGORY="development" 1.7 -SHORT_DESC="Mono library providing a GDI+ compatible API on non-Windows operating systems" 1.8 +SHORT_DESC="Mono library providing a GDI+ compatible API on non-Windows \ 1.9 +operating systems" 1.10 MAINTAINER="rcx@zoominternet.net" 1.11 LICENSE="MIT" 1.12 +WEB_SITE="http://www.mono-project.com/Libgdiplus" 1.13 + 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 -WEB_SITE="http://www.mono-project.com/Libgdiplus" 1.16 WGET_URL="https://github.com/mono/libgdiplus/archive/$VERSION.tar.gz" 1.17 1.18 BUILD_DEPENDS="m4 bison glib-dev xorg-dev libxml2-dev \ 1.19 @@ -19,37 +21,27 @@ 1.20 # Build documentation at http://mono-project.com/Compiling_Mono 1.21 # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 +compile_rules() { 1.27 ./autogen.sh 1.28 ./configure \ 1.29 - --prefix=/usr \ 1.30 - --infodir=/usr/share/info \ 1.31 - --mandir=/usr/share/man \ 1.32 - --sysconfdir=/etc \ 1.33 --with-cairo=system \ 1.34 - $CONFIGURE_ARGS && 1.35 - make && 1.36 + $CONFIGURE_ARGS && 1.37 + fix libtool && 1.38 + make && 1.39 make DESTDIR=$DESTDIR install 1.40 } 1.41 1.42 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.43 -genpkg_rules() 1.44 -{ 1.45 +genpkg_rules() { 1.46 case $PACKAGE in 1.47 - libgdiplus) 1.48 - DEPENDS="glib glibc-base xorg-libICE xorg-libSM xorg-libX11 \ 1.49 + libgdiplus) 1.50 + copy @std 1.51 + DEPENDS="glib glibc-base xorg-libICE xorg-libSM xorg-libX11 \ 1.52 xorg-libXau xorg-libXdmcp xorg-libXrender cairo expat \ 1.53 freetype fontconfig giflib jpeg libpng16 tiff xorg-pixman \ 1.54 libexif zlib util-linux-uuid" 1.55 - mkdir -p $fs/usr/lib 1.56 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.57 - ;; 1.58 - libgdiplus-dev) 1.59 - mkdir -p $fs/usr/lib 1.60 - cp -a $install/usr/lib/*.*a $fs/usr/lib 1.61 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.62 - ;; 1.63 + ;; 1.64 + *-dev) 1.65 + copy @dev 1.66 + ;; 1.67 esac 1.68 }