2010-12-13 22:31:24 +01:00
|
|
|
# Template file for 'libmms'
|
|
|
|
pkgname=libmms
|
|
|
|
version=0.6
|
2013-04-13 10:15:49 +02:00
|
|
|
revision=6
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libglib-devel"
|
2010-12-13 22:31:24 +01:00
|
|
|
short_desc="MMS stream protocol library"
|
2013-03-31 09:51:20 +02:00
|
|
|
homepage="http://sourceforge.net/projects/libmms/"
|
|
|
|
license="LGPL-2.1"
|
2010-12-13 22:31:24 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-13 10:15:49 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
2010-12-13 22:31:24 +01:00
|
|
|
checksum=1f894f33b5e0334bd7c75343480bdf3a9cf79232aa92085c03f1a67e7d4ceb9d
|
|
|
|
long_desc="
|
|
|
|
libmms is a library for downloading (streaming) media files using the mmst
|
|
|
|
and mmsh protocols."
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
do_configure() {
|
2013-05-26 10:41:55 +02:00
|
|
|
export CFLAGS="$CFLAGS -fPIC -DPIC"
|
|
|
|
./configure ${configure_args}
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
2011-01-27 02:24:20 +01:00
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
do_build() {
|
|
|
|
make ${makejobs}
|
2011-01-27 02:24:20 +01:00
|
|
|
}
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
do_install() {
|
2011-01-27 02:24:20 +01:00
|
|
|
make DESTDIR=${DESTDIR} install
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libmms-devel_package() {
|
|
|
|
depends="libglib-devel libmms>=${version}"
|
2013-05-26 10:41:55 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libmms_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|