wok annotate libgsf/receipt @ rev 24320

Add xsuspend (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 25 18:01:09 2022 +0000 (2022-01-25)
parents 91a008a5fdf1
children 870e1ce31226
rev   line source
pankso@563 1 # SliTaz package receipt.
pankso@563 2
pankso@563 3 PACKAGE="libgsf"
Hans-G?nter@23071 4 VERSION="1.14.46"
al@19466 5 CATEGORY="libs"
Hans-G?nter@21228 6 SHORT_DESC="GNOME Structured File Library."
pankso@563 7 MAINTAINER="pankso@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
Hans-G?nter@21228 9 WEB_SITE="https://developer.gnome.org/gsf/"
Hans-G?nter@21228 10
al@19466 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
slaxemulator@10106 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@563 13
Hans-G?nter@23071 14 DEPENDS="bzlib gdk-pixbuf glib glibc-base libffi libgio libpng libxml2 \
Hans-G?nter@23071 15 pcre zlib"
Hans-G?nter@23071 16 BUILD_DEPENDS="gdk-pixbuf-dev glib-dev libgio-dev libxml2-dev zlib-dev"
pascal@14714 17
pascal@24111 18 current_version()
pascal@24111 19 {
pascal@24111 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 22 }
pascal@24111 23
pankso@563 24 # Rules to configure and make the package.
pankso@563 25 compile_rules()
pankso@563 26 {
Hans-G?nter@21228 27 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21228 28 make -j 1 &&
Hans-G?nter@21228 29 make install
pankso@563 30 }
pankso@563 31
pankso@563 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@563 33 genpkg_rules()
pankso@563 34 {
al@19466 35 cook_copy_files gsf *.so* gsf-vba* gsf-office*
al@19466 36 rm -r $fs/usr/share/man
pankso@563 37 }