wok-current view libmms/receipt @ rev 24776
jack1: added build dependency gcc83
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 19 17:48:51 2022 +0100 (2022-03-19) |
parents | 4054526ad238 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libmms"
4 VERSION="0.6.4"
5 CATEGORY="development"
6 SHORT_DESC="A common library for parsing mms and mmsh streams."
7 MAINTAINER="slitaz@kacper.se"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://launchpad.net/libmms"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="glib"
15 BUILD_DEPENDS="glib-dev pkg-config"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects//libmms/files/libmms/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/libmms/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # patch -p1 -i $stuff/libmms.patch
30 ./configure \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make -j 1 &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }