wok-6.x annotate yad-gtk2/receipt @ rev 25557

Up bzip3 (1.3.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 23 16:03:47 2023 +0000 (14 months ago)
parents ad0bc3efbf37
children
rev   line source
al@19311 1 # SliTaz package receipt.
al@19311 2
al@19311 3 PACKAGE="yad-gtk2"
Hans-G?nter@22318 4 VERSION="0.40.0"
al@19311 5 CATEGORY="utilities"
Hans-G?nter@22318 6 TAGS="gtk2"
Hans-G?nter@22318 7 SHORT_DESC="Yet Another Dialog (GTK+2)."
al@19311 8 MAINTAINER="devl547@gmail.com"
al@19311 9 LICENSE="GPL3"
pascal@25510 10 WEB_SITE="https://sourceforge.net/projects/yad-dialog/"
Hans-G?nter@22318 11
al@19311 12 TARBALL="yad-$VERSION.tar.xz"
al@19311 13 WGET_URL="$SF_MIRROR/yad-dialog/$TARBALL"
al@19311 14
al@19545 15 PROVIDE="yad"
al@19311 16 SIBLINGS="yad-gtk3 yad-gtk2-html"
Hans-G?nter@22318 17 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib glibc-base gtk+ \
Hans-G?nter@22318 18 libffi libgio pango pcre zlib"
Hans-G?nter@22318 19 BUILD_DEPENDS="gtk+-dev"
Hans-G?nter@22318 20
Hans-G?nter@22318 21 HOST_ARCH="i486 arm"
al@19311 22
pascal@25457 23 # What is the latest version available today?
pascal@24071 24 current_version()
pascal@24071 25 {
pascal@24071 26 wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \
pascal@24071 27 sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 28 }
pascal@24071 29
al@19311 30 # Rules to configure and make the package.
al@19311 31 compile_rules()
al@19311 32 {
al@19311 33 patch -p1 -i $stuff/ru.patch
al@19311 34
Hans-G?nter@22318 35 ./configure \
Hans-G?nter@22318 36 --enable-icon-browser \
al@19311 37 $CONFIGURE_ARGS &&
Hans-G?nter@22318 38 make &&
Hans-G?nter@22318 39 make install
al@19311 40 }
al@19311 41
al@19311 42 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19311 43 genpkg_rules()
al@19311 44 {
pascal@23908 45 mkdir -p $fs/usr/share/icons/hicolor/32x32/
pascal@23908 46 cp -a $install/usr/share/icons/hicolor/32x32/apps \
pascal@23908 47 $fs/usr/share/icons/hicolor/32x32/
al@19311 48 cook_copy_files yad yad-icon-browser
al@19311 49 cook_copy_icons
al@19311 50 }