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