APKBUILD 905 Bytes
Newer Older
1
# Contributor: Carlo Landmeter
Natanael Copa's avatar
Natanael Copa committed
2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
Carlo Landmeter's avatar
Carlo Landmeter committed
3
pkgname=libmms
4
pkgver=0.6.4
Leo's avatar
Leo committed
5
pkgrel=1
Carlo Landmeter's avatar
Carlo Landmeter committed
6
pkgdesc="MMS stream protocol library"
7
url="https://sourceforge.net/projects/libmms/"
8
arch="all"
9
options="!check"  # No test suite.
Leo's avatar
Leo committed
10
license="LGPL-2.0-or-later"
11
makedepends="glib-dev"
Carlo Landmeter's avatar
Carlo Landmeter committed
12
subpackages="$pkgname-dev"
13
source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
Carlo Landmeter's avatar
Carlo Landmeter committed
14 15 16
"

prepare() {
17 18 19
	cd "$builddir"
	update_config_sub
	default_prepare
Carlo Landmeter's avatar
Carlo Landmeter committed
20 21 22
}

build() {
23
	cd "$builddir"
24 25 26 27
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
Carlo Landmeter's avatar
Carlo Landmeter committed
28 29 30
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
31 32
		--disable-static
	make
Carlo Landmeter's avatar
Carlo Landmeter committed
33 34 35
}

package() {
36 37
	cd "$builddir"
	make DESTDIR="$pkgdir" install
Carlo Landmeter's avatar
Carlo Landmeter committed
38 39
}

40
sha512sums="9771c697515f5232eaeaff79e68fe15e34d8aa38aa5d3d68525216357223f314c544d71b5fe18d79a77682f41b1b5d9fb5e7c3c99d0cba5723d2e3de31faec96  libmms-0.6.4.tar.gz"