wok-current view cellwriter/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents 17d8ac4203da
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cellwriter"
4 VERSION="1.3.6"
5 CATEGORY="x-window"
6 SHORT_DESC="A grid-entry handwriting input panel."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/risujin/cellwriter"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/risujin/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="gtk+ xorg-libXtst"
15 BUILD_DEPENDS="gtk+-dev xorg-libXtst-dev"
16 HOST_ARCH="i486 arm"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --without-gnome \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/${PACKAGE} $fs/usr/share
40 }