aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmms/APKBUILD
blob: bb184d1a17b205c4ea3b3e710fb138551ca35169 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: Carlo Landmeter 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libmms
pkgver=0.6.2
pkgrel=1
pkgdesc="MMS stream protocol library"
url="http://sourceforge.net/projects/libmms/"
arch="all"
license="LGPL"
depends=
makedepends="pkgconfig glib-dev"
install=
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-static
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="9f63aa363deb4874e072a45850161bff  libmms-0.6.2.tar.gz"