SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gtk-sharp"

# SliTaz package receipt.

PACKAGE="gtk-sharp"
VERSION="2.12.26"
CATEGORY="libs"
SHORT_DESC="Gtk# is a Graphical User Interface Toolkit for mono and .Net"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="LGPL2.1"
WEB_SITE="https://www.mono-project.com/docs/gui/gtksharp/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
num=${VERSION%.*}; num=${num//./}
WGET_URL="https://download.mono-project.com/sources/gtk-sharp$num/$TARBALL"

DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib glibc-base gtk+ \
harfbuzz libffi libgio libglade libpng libxcb libxml2 pango pcre pixman \
xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \
xorg-libXrender zlib"
BUILD_DEPENDS="gtk+-dev mono-dev libglade-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://download.mono-project.com/sources/gtk-sharp212/ 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure $CONFIGURE_ARGS && make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_files *.so *.dll *.config
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)