wok view obby/receipt @ rev 25037

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