wok-current annotate gnome-mime-data/receipt @ rev 24586

updated gawk (5.0.1 -> 5.1.1)
author Hans-G?nter Theisgen
date Mon Feb 28 09:01:30 2022 +0100 (2022-02-28)
parents 6e8b1bcb30e2
children
rev   line source
slaxemulator@7731 1 # SliTaz package receipt.
slaxemulator@7731 2
slaxemulator@7731 3 PACKAGE="gnome-mime-data"
slaxemulator@7731 4 VERSION="2.18.0"
slaxemulator@7731 5 CATEGORY="x-window"
slaxemulator@7731 6 SHORT_DESC="The GNOME Mime Data file types"
slaxemulator@7731 7 MAINTAINER="erjo@slitaz.org"
pascal@15589 8 LICENSE="GPL2"
slaxemulator@7731 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20671 10 WEB_SITE="https://www.gnome.org"
slaxemulator@7731 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@7731 12
pascal@15589 13 DEPENDS="perl-xml-parser"
pascal@15589 14 BUILD_DEPENDS="perl-xml-parser gettext"
pascal@15589 15
pascal@24111 16 current_version()
pascal@24111 17 {
pascal@24111 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 20 }
pascal@24111 21
slaxemulator@7731 22 # Rules to configure and make the package.
slaxemulator@7731 23 compile_rules()
slaxemulator@7731 24 {
slaxemulator@7731 25 cd $src
slaxemulator@7731 26 ./configure \
slaxemulator@7731 27 --prefix=/usr \
slaxemulator@7731 28 --sysconfdir=/etc/gnome \
slaxemulator@7731 29 $CONFIGURE_ARGS &&
pascal@15589 30 make && make DESTDIR=$DESTDIR install
slaxemulator@7731 31 }
slaxemulator@7731 32
slaxemulator@7731 33 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7731 34 genpkg_rules()
slaxemulator@7731 35 {
slaxemulator@7750 36 mkdir -p $fs/usr/share $fs/usr/lib
slaxemulator@7731 37
pascal@15589 38 cp -a $install/etc $fs/
pascal@15589 39 cp -a $install/usr/share/application-registry $fs/usr/share
pascal@15589 40 cp -a $install/usr/share/mime-info $fs/usr/share
pascal@15589 41 cp -a $install/usr/share/pkgconfig $fs/usr/lib
slaxemulator@7731 42
slaxemulator@7731 43 }
slaxemulator@7731 44