wok annotate gucharmap/receipt @ rev 24212

updated perl-file-slurp (9999.30 -> 9999.32)
author Hans-G?nter Theisgen
date Fri Dec 31 16:13:01 2021 +0100 (2021-12-31)
parents da534f9e180c
children
rev   line source
pascal@13533 1 # SliTaz package receipt.
pascal@13533 2
pascal@13533 3 PACKAGE="gucharmap"
pascal@13533 4 VERSION="3.0.1"
pascal@13533 5 CATEGORY="utilities"
al@19198 6 SHORT_DESC="GNOME Character Map (GTK+2)"
pascal@13533 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15000 8 LICENSE="GPL3"
pascal@13533 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19198 10 WEB_SITE="https://wiki.gnome.org/action/show/Apps/Gucharmap"
pascal@13533 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@13533 12
al@19198 13 DEPENDS="gtk+ xorg-libXdamage"
pascal@15000 14 BUILD_DEPENDS="itstool libxml2-tools glib-dev libgio-dev gtk+-dev"
al@19198 15 SPLIT="gucharmap-i18n"
pascal@15000 16
pascal@24111 17 current_version()
pascal@24111 18 {
pascal@24111 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 21 }
pascal@24111 22
pascal@13533 23 # Rules to configure and make the package.
pascal@13533 24 compile_rules()
pascal@13533 25 {
pascal@13533 26 ./configure \
al@19198 27 --sysconfdir=/etc \
pascal@13533 28 --disable-maintainer-mode \
pascal@13533 29 --disable-gconf \
pascal@13533 30 --disable-schemas-install \
pascal@13533 31 --disable-scrollkeeper \
pascal@13533 32 --with-gtk=2.0 \
pascal@13533 33 $CONFIGURE_ARGS &&
pascal@13533 34 make && make install
pascal@13533 35 }
pascal@13533 36
pascal@13533 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13533 38 genpkg_rules()
pascal@13533 39 {
al@19198 40 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
al@19198 41 cp -a $install/etc $fs
pascal@13533 42 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
pascal@13533 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13533 44 cp -a $install/usr/share/applications $fs/usr/share
pascal@13533 45 }