wok-6.x annotate cellwriter/receipt @ rev 25053

Up advancecomp (2.3), foomatic-db (4.0-20220223), sagan-rules (2.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 05 19:53:43 2022 +0000 (2022-06-05)
parents 17d8ac4203da
children
rev   line source
pankso@16344 1 # SliTaz package receipt.
pankso@16344 2
pankso@16344 3 PACKAGE="cellwriter"
Hans-G?nter@20779 4 VERSION="1.3.6"
pankso@16344 5 CATEGORY="x-window"
pankso@16344 6 SHORT_DESC="A grid-entry handwriting input panel."
pankso@16344 7 MAINTAINER="pankso@slitaz.org"
pankso@16344 8 LICENSE="GPL2"
Hans-G?nter@20779 9 WEB_SITE="https://github.com/risujin/cellwriter"
Hans-G?nter@20779 10
pankso@16344 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@20779 12 WGET_URL="https://github.com/risujin/$PACKAGE/archive/$VERSION.tar.gz"
pankso@16344 13
pankso@16344 14 DEPENDS="gtk+ xorg-libXtst"
pankso@16344 15 BUILD_DEPENDS="gtk+-dev xorg-libXtst-dev"
Hans-G?nter@20779 16 HOST_ARCH="i486 arm"
pankso@16344 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
pankso@16344 24 # Rules to configure and make the package.
pankso@16344 25 compile_rules()
pankso@16344 26 {
pankso@16344 27 ./configure \
pankso@16344 28 --without-gnome \
pankso@16344 29 $CONFIGURE_ARGS &&
Hans-G?nter@20779 30 make &&
Hans-G?nter@20779 31 make install
pankso@16344 32 }
pankso@16344 33
pankso@16344 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16344 35 genpkg_rules()
pankso@16344 36 {
pankso@16344 37 mkdir -p $fs/usr/share
pankso@16344 38 cp -a $install/usr/bin $fs/usr
pankso@16344 39 cp -a $install/usr/share/${PACKAGE} $fs/usr/share
pankso@16344 40 }