wok-current annotate gummi/receipt @ rev 24167
Up tazlito (533), again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 28 16:40:30 2021 +0000 (2021-12-28) |
parents | 2bf06a81a33e |
children |
rev | line source |
---|---|
pankso@11696 | 1 # SliTaz package receipt. |
pankso@11696 | 2 |
pankso@11696 | 3 PACKAGE="gummi" |
Hans-G?nter@21016 | 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@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pankso@11696 | 24 # Rules to configure and make the package. |
pankso@11696 | 25 compile_rules() |
pankso@11696 | 26 { |
pankso@11696 | 27 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21016 | 28 make LDFLAGS="-Wl,--copy-dt-needed-entries -lgthread-2.0" -j 1 && |
Hans-G?nter@21016 | 29 make install |
pankso@11696 | 30 } |
pankso@11696 | 31 |
pankso@11696 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11696 | 33 genpkg_rules() |
pankso@11696 | 34 { |
pankso@11696 | 35 mkdir -p $fs/usr/share |
Hans-G?nter@21016 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21016 | 37 cp -a $install/usr/share/gummi $fs/usr/share |
pankso@11696 | 38 } |