wok view libmms/receipt @ rev 24417
created recipes for perl-cairo-gobject, perl-glib-object-introspection and perl-gtk3
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 09:16:47 2022 +0100 (2022-02-11) |
parents | 4054526ad238 |
children | d3556b8f5c3d |
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 }