blob: ab2d6987943774a1016beb872cad64365819b992 (
plain)
1 # Description: An open-source, cross-platform library for reading/writing/manipulating ID3 tags.
2 # URL: http://id3lib.sourceforge.net/
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Matt Housh, jaeger at morpheus dot net
5 # Depends on: zlib
6
7 name=id3lib
8 version=3.8.3
9 release=2
10 source=(http://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.gz
11 $name-3.8.3-zlib.patch
12 $name-3.8.3-test_io.patch
13 $name-3.8.3-autoconf259.patch
14 $name-3.8.3-unicode16.patch
15 $name-3.8.3-gcc-4.3.patch
16 CVE-2007-4460.diff)
17
18 build() {
19 cd $name-$version
20
21 patch -p 1 -i $SRC/$name-3.8.3-zlib.patch
22 patch -p 1 -i $SRC/$name-3.8.3-test_io.patch
23 patch -p 1 -i $SRC/$name-3.8.3-autoconf259.patch
24 patch -p 1 -i $SRC/$name-3.8.3-unicode16.patch
25 patch -p 1 -i $SRC/$name-3.8.3-gcc-4.3.patch
26 patch -p 1 -i $SRC/CVE-2007-4460.diff
27 autoreconf -ivfs # buggy configure
28
29 CC='g++' \
30 ./configure \
31 --prefix=/usr \
32 --disable-static \
33 --disable-assert \
34 --enable-debug=no
35
36 make
37 make DESTDIR=$PKG install
38 }
|