wok-current annotate gtk-sharp/receipt @ rev 25584
Fix ncursesw build
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu May 25 10:56:33 2023 +0000 (19 months ago) |
parents | af8d823a3077 |
children |
rev | line source |
---|---|
al@19502 | 1 # SliTaz package receipt. |
al@19502 | 2 |
al@19502 | 3 PACKAGE="gtk-sharp" |
al@19502 | 4 VERSION="2.12.26" |
al@19502 | 5 CATEGORY="libs" |
al@19502 | 6 SHORT_DESC="Gtk# is a Graphical User Interface Toolkit for mono and .Net" |
al@19502 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19502 | 8 LICENSE="LGPL2.1" |
pascal@20669 | 9 WEB_SITE="https://www.mono-project.com/docs/gui/gtksharp/" |
al@19502 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19502 | 11 num=${VERSION%.*}; num=${num//./} |
pascal@24972 | 12 WGET_URL="https://download.mono-project.com/sources/gtk-sharp$num/$TARBALL" |
al@19502 | 13 |
al@19502 | 14 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib glibc-base gtk+ \ |
al@19502 | 15 harfbuzz libffi libgio libglade libpng libxcb libxml2 pango pcre pixman \ |
al@19502 | 16 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ |
al@19502 | 17 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \ |
al@19502 | 18 xorg-libXrender zlib" |
al@19502 | 19 BUILD_DEPENDS="gtk+-dev mono-dev libglade-dev" |
al@19502 | 20 |
pascal@24445 | 21 # What is the latest version available today? |
pascal@24445 | 22 current_version() |
pascal@24445 | 23 { |
pascal@24445 | 24 wget -O - https://download.mono-project.com/sources/gtk-sharp212/ 2>/dev/null | \ |
pascal@24445 | 25 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24445 | 26 } |
pascal@24445 | 27 |
al@19502 | 28 # Rules to configure and make the package. |
al@19502 | 29 compile_rules() |
al@19502 | 30 { |
al@19502 | 31 ./configure $CONFIGURE_ARGS && make && make install |
al@19502 | 32 } |
al@19502 | 33 |
al@19502 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19502 | 35 genpkg_rules() |
al@19502 | 36 { |
al@19502 | 37 cook_copy_files *.so *.dll *.config |
al@19502 | 38 } |