blob: 483d3300f804183d3e4eb911ef3205716e9bfeb3 (
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
|
# $Id: PKGBUILD 123876 2011-05-14 00:23:46Z andrea $
# Maintainer:
# Contributor: Jochem Kossen <j.kossen@home.nl>
pkgname=id3lib
pkgver=3.8.3
pkgrel=11
pkgdesc="An open-source, cross-platform software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags"
arch=(i686 x86_64)
license=('LGPL')
url="http://id3lib.sourceforge.net/"
depends=('zlib' 'gcc-libs')
options=('!libtool')
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'patch_id3lib_3.8.3_UTF16_writing_bug.diff'
'id3lib-3.8.3-CVE-2007-4460.patch'
'id3lib-3.8.3-gcc-4.3.patch')
md5sums=('19f27ddd2dda4b2d26a559a4f0f402a7'
'196c65adee1ba511ddacef2de0dfd102'
'78e90e15ddd1122b66da352b6c3b00ff'
'fdbffd2d9d289ed0d730950c78d4ebc4')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
patch -p1 -i "${srcdir}"/patch_id3lib_3.8.3_UTF16_writing_bug.diff
patch -p0 -i "${srcdir}"/id3lib-3.8.3-CVE-2007-4460.patch
patch -p1 -i "${srcdir}"/id3lib-3.8.3-gcc-4.3.patch
./configure --prefix=/usr
sed -i -e 's/^LIBS =/LIBS = -lz -lstdc++/' src/Makefile
make
}
package() {
cd "${srcdir}"/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
|