wok annotate atkmm/receipt @ rev 24924

Add as & asxxxx
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 13 10:27:34 2022 +0000 (2022-04-13)
parents 86790a278e70
children
rev   line source
slaxemulator@7094 1 # SliTaz package receipt.
slaxemulator@7094 2
slaxemulator@7094 3 PACKAGE="atkmm"
slaxemulator@11117 4 VERSION="2.22.6"
slaxemulator@7094 5 CATEGORY="x-window"
slaxemulator@7094 6 SHORT_DESC="C++ interface for the popular Accessibility toolkit."
slaxemulator@7094 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14996 8 LICENSE="LGPL2.1"
slaxemulator@7094 9 BUILD_DEPENDS="atk-dev glib-dev glibmm-dev libgiomm-dev pkg-config"
slaxemulator@7094 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20421 11 WEB_SITE="https://www.gnome.org/"
slaxemulator@9530 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@7094 13
pascal@14996 14 DEPENDS="atk libsigc++"
pascal@14996 15
pascal@24066 16 current_version()
pascal@24066 17 {
pascal@24066 18 wget -O - https://gitlab.gnome.org/GNOME/atkmm/-/tags 2>/dev/null | \
pascal@24066 19 sed '/tar.gz/!d;s|.*/atkmm-\(.*\).tar.gz".*|\1|;q'
pascal@24066 20 }
pascal@24066 21
slaxemulator@7094 22 # Rules to configure and make the package.
slaxemulator@7094 23 compile_rules()
slaxemulator@7094 24 {
slaxemulator@7094 25 cd $src
slaxemulator@10052 26 ./configure $CONFIGURE_ARGS &&
slaxemulator@10052 27 make && make install
slaxemulator@7094 28 }
slaxemulator@7094 29
slaxemulator@7094 30 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7094 31 genpkg_rules()
slaxemulator@7094 32 {
slaxemulator@7094 33 mkdir -p $fs/usr/lib
pascal@14996 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@7094 35 }
slaxemulator@7094 36