wok annotate obby/receipt @ rev 24910
Update some web_site (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 09 14:32:04 2022 +0000 (2022-04-09) |
parents | f81cd10fc318 |
children | b81ceff0b056 |
rev | line source |
---|---|
pankso@2363 | 1 # SliTaz package receipt. |
pankso@2363 | 2 |
pankso@2363 | 3 PACKAGE="obby" |
Hans-G?nter@21590 | 4 VERSION="0.4.8" |
pascal@2584 | 5 CATEGORY="network" |
Hans-G?nter@21590 | 6 TAGS="collaboration text" |
pankso@2363 | 7 SHORT_DESC="Realtime collaborative text-editing functionality." |
pankso@2363 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15590 | 9 LICENSE="GPL2" |
Hans-G?nter@21590 | 10 WEB_SITE="https://gobby.github.io/" |
Hans-G?nter@21590 | 11 |
pankso@2363 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@2363 | 13 WGET_URL="http://releases.0x539.de/obby/$TARBALL" |
pankso@2363 | 14 |
Hans-G?nter@21590 | 15 DEPENDS="gcc-lib-base gnutls libgcrypt libgpg-error libsigc++ libtasn1 \ |
Hans-G?nter@21590 | 16 net6 zlib" |
Hans-G?nter@21590 | 17 BUILD_DEPENDS="$DEPENDS gnutls-dev libgcrypt-dev libgnutls libgpg-error-dev \ |
Hans-G?nter@21590 | 18 libsigc++-dev net6-dev" |
pascal@10504 | 19 |
pascal@24453 | 20 # What is the latest version available today? |
pascal@24453 | 21 current_version() |
pascal@24453 | 22 { |
pascal@24453 | 23 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24453 | 25 } |
pascal@24453 | 26 |
pankso@2363 | 27 # Rules to configure and make the package. |
pankso@2363 | 28 compile_rules() |
pankso@2363 | 29 { |
Hans-G?nter@21590 | 30 ./configure \ |
Hans-G?nter@21590 | 31 --prefix=/usr \ |
Hans-G?nter@21590 | 32 --infodir=/usr/share/info \ |
Hans-G?nter@21590 | 33 --mandir=/usr/share/man \ |
pankso@2363 | 34 $CONFIGURE_ARGS && |
pankso@2363 | 35 make && |
pascal@15590 | 36 make DESTDIR=$DESTDIR install |
pankso@2363 | 37 } |
pankso@2363 | 38 |
pankso@2363 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2363 | 40 genpkg_rules() |
pankso@2363 | 41 { |
pankso@2363 | 42 mkdir -p $fs/usr/lib |
pascal@15590 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@2363 | 44 } |