mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-03 15:51:33 +01:00
main/libmms: new apkbuild
(cherry picked from commit c585bfc807ce93c75bd67a81e14ae7a580bab876)
This commit is contained in:
parent
9c46f5fad1
commit
b672d40398
40
main/libmms/APKBUILD
Normal file
40
main/libmms/APKBUILD
Normal file
@ -0,0 +1,40 @@
|
||||
# Contributor: Carlo Landmeter
|
||||
# Maintainer:
|
||||
pkgname=libmms
|
||||
pkgver=0.6
|
||||
pkgrel=0
|
||||
pkgdesc="MMS stream protocol library"
|
||||
url="http://sourceforge.net/projects/libmms/"
|
||||
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"
|
||||
Loading…
x
Reference in New Issue
Block a user