wok-next diff gtk-sharp/receipt @ rev 20646
grub2-efi: ls module embedded
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 02 11:12:13 2018 +0200 (2018-05-02) |
parents | dd145c435e4b |
children | a3c581bf52b8 |
line diff
1.1 --- a/gtk-sharp/receipt Wed Feb 28 17:32:31 2018 +0200 1.2 +++ b/gtk-sharp/receipt Wed May 02 11:12:13 2018 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="gtk-sharp" 1.8 VERSION="2.12.26" 1.9 @@ -7,25 +7,31 @@ 1.10 MAINTAINER="al.bobylev@gmail.com" 1.11 LICENSE="LGPL2.1" 1.12 WEB_SITE="http://www.mono-project.com/docs/gui/gtksharp/" 1.13 + 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 -num=${VERSION%.*}; num=${num//./} 1.16 -WGET_URL="http://download.mono-project.com/sources/gtk-sharp$num/$TARBALL" 1.17 +SERIES=${VERSION%.*} 1.18 +WGET_URL="http://download.mono-project.com/sources/gtk-sharp${SERIES//./}/$TARBALL" 1.19 1.20 -DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib glibc-base gtk+ \ 1.21 -harfbuzz libffi libglade libpng16 xorg-libxcb libxml2 pango pcre xorg-pixman \ 1.22 -xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ 1.23 -xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \ 1.24 -xorg-libXrender zlib" 1.25 BUILD_DEPENDS="gtk+-dev mono-dev libglade-dev" 1.26 +SPLIT="gtk-sharp-dev" 1.27 1.28 -# Rules to configure and make the package. 1.29 -compile_rules() 1.30 -{ 1.31 +compile_rules() { 1.32 ./configure $CONFIGURE_ARGS && make && make install 1.33 } 1.34 1.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 -genpkg_rules() 1.37 -{ 1.38 - copy *.so *.dll *.config 1.39 +genpkg_rules() { 1.40 + case $PACKAGE in 1.41 + gtk-sharp) 1.42 + copy *.so *.dll *.config 1.43 + DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib \ 1.44 + glibc-base gtk+ harfbuzz libffi libglade libpng16 xorg-libxcb \ 1.45 + libxml2 pango pcre xorg-pixman xorg-libX11 xorg-libXau \ 1.46 + xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \ 1.47 + xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \ 1.48 + xorg-libXrender zlib" 1.49 + ;; 1.50 + *-dev) 1.51 + copy bin/ *.a *.la *.pc *.xml *.exe *.pl 1.52 + ;; 1.53 + esac 1.54 }