wok-next view gtk-sharp/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents a3c581bf52b8
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtk-sharp"
4 VERSION="2.12.26"
5 CATEGORY="libs"
6 SHORT_DESC="Gtk# is a Graphical User Interface Toolkit for mono and .Net"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.mono-project.com/docs/gui/gtksharp/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 SERIES=${VERSION%.*}
13 WGET_URL="http://download.mono-project.com/sources/gtk-sharp${SERIES//./}/$TARBALL"
15 BUILD_DEPENDS="gtk2-dev mono-dev libglade-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 make &&
21 make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 gtk-sharp)
27 copy *.so *.dll *.config
28 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib \
29 glibc-base gtk2 harfbuzz libffi libglade libpng16 xorg-libxcb \
30 libxml2 pango pcre xorg-pixman xorg-libX11 xorg-libXau \
31 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
32 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \
33 xorg-libXrender zlib"
34 ;;
35 *-dev)
36 copy bin/ *.a *.la *.pc *.xml *.exe *.pl
37 ;;
38 esac
39 }