wok annotate libmms/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 4054526ad238
children d3556b8f5c3d
rev   line source
paul@3855 1 # SliTaz package receipt.
paul@3855 2
paul@3855 3 PACKAGE="libmms"
Hans-G?nter@21256 4 VERSION="0.6.4"
paul@3855 5 CATEGORY="development"
Hans-G?nter@21256 6 SHORT_DESC="A common library for parsing mms and mmsh streams."
paul@3855 7 MAINTAINER="slitaz@kacper.se"
pascal@15473 8 LICENSE="LGPL2.1"
Hans-G?nter@21256 9 WEB_SITE="https://launchpad.net/libmms"
Hans-G?nter@21256 10
paul@3855 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@3855 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
paul@3855 13
pascal@15473 14 DEPENDS="glib"
Hans-G?nter@21256 15 BUILD_DEPENDS="glib-dev pkg-config"
pascal@15473 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//libmms/files/libmms/ 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|.*/libmms/||;s|/.*||;q'
pascal@24411 23 }
pascal@24411 24
paul@3855 25 # Rules to configure and make the package.
paul@3855 26 compile_rules()
paul@3855 27 {
Hans-G?nter@21256 28 # patch -p1 -i $stuff/libmms.patch
al@18633 29
Hans-G?nter@21256 30 ./configure \
Hans-G?nter@21256 31 --prefix=/usr \
paul@3855 32 $CONFIGURE_ARGS &&
Hans-G?nter@21256 33 make -j 1 &&
Hans-G?nter@21256 34 make DESTDIR=$DESTDIR install
paul@3855 35 }
paul@3855 36
paul@3855 37 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3855 38 genpkg_rules()
paul@3855 39 {
paul@3855 40 mkdir -p $fs/usr/lib
pascal@15473 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
paul@3855 42 }