aboutsummaryrefslogtreecommitdiffstats
path: root/main/libmms/APKBUILD
blob: cdbd423795ba4fe00fd89fa29bab76dade5cb88a (plain)
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
40
41
# Contributor: Carlo Landmeter 
# Maintainer: 
pkgname=libmms
pkgver=0.6
pkgrel=0
pkgdesc="MMS stream protocol library"
url="http://sourceforge.net/projects/libmms/"
arch="x86 x86_64"
license="LGPL"
depends=
makedepends="pkgconfig glib-dev"
install=
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
	libmms-0.5-this-keyword.patch
"

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

prepare() {
	cd "$_builddir"
	patch -p1 -i "$srcdir"/libmms-0.5-this-keyword.patch || return 1
}

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
}

md5sums="650ad04a4c8bd79246390b81b29680b6  libmms-0.6.tar.gz
5266259060f5723d8ee639b8a541f835  libmms-0.5-this-keyword.patch"