wok-6.x annotate klavaro/receipt @ rev 25427

updated xapian and xapian-dev (1.4.15 -> 1.4.20)
author Hans-G?nter Theisgen
date Thu Aug 18 17:00:01 2022 +0100 (2022-08-18)
parents ba7cbdb5749c
children b0069c845544
rev   line source
pankso@1298 1 # SliTaz package receipt.
pankso@1298 2
pankso@1298 3 PACKAGE="klavaro"
pascal@25104 4 VERSION="1.9.9"
pankso@1298 5 CATEGORY="system-tools"
pankso@1298 6 SHORT_DESC="Free touch typing tutor program."
pankso@1298 7 MAINTAINER="pankso@slitaz.org"
pascal@15601 8 LICENSE="GPL3"
pankso@1298 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@15110 10 WEB_SITE="http://klavaro.sourceforge.net/en/"
pascal@15110 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15110 12 TAGS="typing"
pascal@15110 13
pankso@3842 14 DEPENDS="gtk+ xorg-libXdamage gtkdatabox libcurl libsexy"
pankso@3842 15 BUILD_DEPENDS="$DEPENDS pkg-config gtk+-dev xorg-xproto gtkdatabox-dev \
pankso@3842 16 curl-dev libsexy-dev"
pankso@1298 17
pascal@24412 18 # What is the latest version available today?
pascal@24412 19 current_version()
pascal@24412 20 {
pascal@24412 21 wget -O - https://sourceforge.net/projects/klavaro/files/ 2>/dev/null | \
pascal@24412 22 sed '/scope="row/!d;/tar/!d;s|.*/klavaro-||;s|.tar.*||;q'
pascal@24412 23 }
pascal@24412 24
pankso@1298 25 # Rules to configure and make the package.
pankso@1298 26 compile_rules()
pankso@1298 27 {
pascal@17670 28 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgmodule-2.0"
pankso@1298 29 ./configure \
pankso@1298 30 --prefix=/usr \
pascal@1460 31 $CONFIGURE_ARGS &&
pascal@1460 32 make &&
pascal@15110 33 make DESTDIR=$DESTDIR install
pankso@1298 34 }
pankso@1298 35
pankso@1298 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1298 37 genpkg_rules()
pankso@1298 38 {
pankso@3842 39 mkdir -p $fs/usr/share/pixmaps
pascal@15110 40 cp -a $install/usr/bin $fs/usr
pascal@15110 41 cp -a $install/usr/share/klavaro $fs/usr/share
pascal@15110 42 cp -a $install/usr/share/icons/hicolor/24x24/apps/* \
pankso@3842 43 $fs/usr/share/pixmaps
pankso@1298 44 }