wok annotate liblo/receipt @ rev 25286

updated rsnapshot (1.4.3 -> 1.4.4)
author Hans-G?nter Theisgen
date Mon Jul 18 17:11:03 2022 +0100 (2022-07-18)
parents 8d0784467a10
children 9a714ac859a3
rev   line source
jozee@6825 1 # SliTaz package receipt.
jozee@6825 2
jozee@6825 3 PACKAGE="liblo"
Hans-G?nter@23080 4 VERSION="0.31"
jozee@6825 5 CATEGORY="multimedia"
jozee@6825 6 MAINTAINER="jozee@slitaz.org"
pascal@15473 7 LICENSE="LGPL2.1"
jozee@6825 8 SHORT_DESC="Lightweight OSC implementation: an implementation of the Open Sound Control protocol for POSIX systems"
Hans-G?nter@23080 9 WEB_SITE="https://sourceforge.net/projects///liblo"
Hans-G?nter@23080 10
jozee@6825 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@6825 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@6825 13
Hans-G?nter@23080 14 DEPENDS="gcc83-lib-base"
Hans-G?nter@23080 15 BUILD_DEPENDS="gcc83"
jozee@6825 16
pascal@24411 17 # What is the latest version available today?
pascal@24411 18 current_version()
pascal@24411 19 {
pascal@24411 20 wget -O - https://sourceforge.net/projects/liblo/files/liblo/ 2>/dev/null | \
pascal@24411 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24411 22 sed '/scope="row/!d;s|.*/liblo/||;s|/.*||;q'
pascal@24411 23 }
pascal@24411 24
jozee@6825 25 # Rules to configure and make the package.
jozee@6825 26
pascal@15473 27 compile_rules()
pascal@15473 28 {
Hans-G?nter@23080 29 ./configure \
Hans-G?nter@23080 30 CC=gcc-83 \
Hans-G?nter@23080 31 CXX=g++-83 \
Hans-G?nter@23080 32 --prefix=/usr \
Hans-G?nter@23080 33 $CONFIGURE_ARGS &&
pascal@15473 34 make &&
pascal@15473 35 make DESTDIR=$DESTDIR install
jozee@6825 36 }
jozee@6825 37
jozee@6825 38 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6825 39 genpkg_rules()
jozee@6825 40 {
gokhlayeh@11573 41 mkdir -p $fs/usr/lib
Hans-G?nter@23080 42
Hans-G?nter@23080 43 cp -a $install/usr/bin $fs/usr
Hans-G?nter@23080 44 cp -a $install/usr/lib/*so* $fs/usr/lib
jozee@6825 45 }