wok annotate gummi/receipt @ rev 25664
Up perl-convert-asn1 (0.34)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 24 11:01:36 2024 +0000 (3 months ago) |
parents | 4f7a4ea1e883 |
children |
rev | line source |
---|---|
pankso@11696 | 1 # SliTaz package receipt. |
pankso@11696 | 2 |
pankso@11696 | 3 PACKAGE="gummi" |
pascal@25664 | 4 VERSION="0.6.6" |
pankso@11696 | 5 CATEGORY="office" |
Hans-G?nter@21017 | 6 TAGS="editor LaTeX" |
pankso@11696 | 7 SHORT_DESC="LaTeX editor designed with simplicity in mind." |
pankso@11696 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15600 | 9 LICENSE="MIT" |
Hans-G?nter@21016 | 10 WEB_SITE="https://github.com/alexandervdm/gummi" |
Hans-G?nter@21016 | 11 |
pankso@11696 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21016 | 13 WGET_URL="https://github.com/alexandervdm/$PACKAGE/releases/download/$VERSION/$TARBALL" |
pankso@11696 | 14 |
gokhlayeh@12068 | 15 DEPENDS="gtk+ gtksourceview gtkspell poppler" |
Hans-G?nter@21016 | 16 BUILD_DEPENDS="glib gtk+-dev gtksourceview-dev gtkspell-dev intltool poppler-dev" |
pankso@11696 | 17 |
pascal@25599 | 18 # What is the latest version available today? |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@25599 | 22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
pankso@11696 | 25 # Rules to configure and make the package. |
pankso@11696 | 26 compile_rules() |
pankso@11696 | 27 { |
pankso@11696 | 28 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21016 | 29 make LDFLAGS="-Wl,--copy-dt-needed-entries -lgthread-2.0" -j 1 && |
Hans-G?nter@21016 | 30 make install |
pankso@11696 | 31 } |
pankso@11696 | 32 |
pankso@11696 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11696 | 34 genpkg_rules() |
pankso@11696 | 35 { |
pankso@11696 | 36 mkdir -p $fs/usr/share |
Hans-G?nter@21016 | 37 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21016 | 38 cp -a $install/usr/share/gummi $fs/usr/share |
pankso@11696 | 39 } |