summaryrefslogtreecommitdiff
path: root/extra/libmms/PKGBUILD
blob: 05ce883388333acbfff94f63948a08b23bbe345f (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
#$Id: PKGBUILD 81998 2010-06-07 14:12:43Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libmms
pkgver=0.6
pkgrel=1
pkgdesc="MMS stream protocol library"
arch=(i686 x86_64 'mips64el')
url="http://sourceforge.net/projects/libmms/"
license=(LGPL)
depends=('glib2>=2.24.1')
options=('!libtool')
source=(http://download.sourceforge.net/libmms/${pkgname}-${pkgver}.tar.gz
        libmms-0.5-this-keyword.patch)
md5sums=('650ad04a4c8bd79246390b81b29680b6'
         '5266259060f5723d8ee639b8a541f835')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -Np1 -i "${srcdir}/libmms-0.5-this-keyword.patch" || return 1
  ./configure --prefix=/usr --disable-static || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
}