wok annotate yad-gtk2/receipt @ rev 23933

dar: inserted libdir=/lib
author Hans-G?nter Theisgen
date Mon Sep 07 13:19:26 2020 +0100 (2020-09-07)
parents 2537c708087e
children ee53899c6189
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"
al@19311 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
al@19311 23 # Rules to configure and make the package.
al@19311 24 compile_rules()
al@19311 25 {
al@19311 26 patch -p1 -i $stuff/ru.patch
al@19311 27
Hans-G?nter@22318 28 ./configure \
Hans-G?nter@22318 29 --enable-icon-browser \
al@19311 30 $CONFIGURE_ARGS &&
Hans-G?nter@22318 31 make &&
Hans-G?nter@22318 32 make install
al@19311 33 }
al@19311 34
al@19311 35 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19311 36 genpkg_rules()
al@19311 37 {
pascal@23908 38 mkdir -p $fs/usr/share/icons/hicolor/32x32/
pascal@23908 39 cp -a $install/usr/share/icons/hicolor/32x32/apps \
pascal@23908 40 $fs/usr/share/icons/hicolor/32x32/
al@19311 41 cook_copy_files yad yad-icon-browser
al@19311 42 cook_copy_icons
al@19311 43 }