wok-next view gtk-sharp/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | dd145c435e4b |
children | a3c581bf52b8 |
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="http://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="gtk+-dev mono-dev libglade-dev"
16 SPLIT="gtk-sharp-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS && make && make install
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 gtk-sharp)
25 copy *.so *.dll *.config
26 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib \
27 glibc-base gtk+ harfbuzz libffi libglade libpng16 xorg-libxcb \
28 libxml2 pango pcre xorg-pixman xorg-libX11 xorg-libXau \
29 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
30 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \
31 xorg-libXrender zlib"
32 ;;
33 *-dev)
34 copy bin/ *.a *.la *.pc *.xml *.exe *.pl
35 ;;
36 esac
37 }