wok view gtk-sharp/receipt @ rev 25539

Up perl-test-compile (3.1.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 09 12:11:13 2023 +0000 (22 months ago)
parents af8d823a3077
children
line source
1 # SliTaz package receipt.
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 num=${VERSION%.*}; num=${num//./}
12 WGET_URL="https://download.mono-project.com/sources/gtk-sharp$num/$TARBALL"
14 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib glibc-base gtk+ \
15 harfbuzz libffi libgio libglade libpng libxcb libxml2 pango pcre pixman \
16 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
17 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \
18 xorg-libXrender zlib"
19 BUILD_DEPENDS="gtk+-dev mono-dev libglade-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://download.mono-project.com/sources/gtk-sharp212/ 2>/dev/null | \
25 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure $CONFIGURE_ARGS && make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files *.so *.dll *.config
38 }