wok-current view gummi/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 2bf06a81a33e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gummi"
4 VERSION="0.6.6"
5 CATEGORY="office"
6 TAGS="editor LaTeX"
7 SHORT_DESC="LaTeX editor designed with simplicity in mind."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/alexandervdm/gummi"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/alexandervdm/$PACKAGE/releases/download/$VERSION/$TARBALL"
15 DEPENDS="gtk+ gtksourceview gtkspell poppler"
16 BUILD_DEPENDS="glib gtk+-dev gtksourceview-dev gtkspell-dev intltool poppler-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 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 $CONFIGURE_ARGS &&
28 make LDFLAGS="-Wl,--copy-dt-needed-entries -lgthread-2.0" -j 1 &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/gummi $fs/usr/share
38 }