blob: 536111266417122f7d0f53d381f59b28e6ae7103 (
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, crux at romster dot me
4 # Depends on: zlib
5
6 name=id3lib
7 version=3.8.3
8 release=3
9 source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz
10 $name-3.8.3-zlib.patch
11 $name-3.8.3-test_io.patch
12 $name-3.8.3-autoconf259.patch
13 $name-3.8.3-unicode16.patch
14 $name-3.8.3-gcc-4.3.patch
15 CVE-2007-4460.diff)
16
17 build() {
18 cd $name-$version
19
20 patch -p 1 -i $SRC/$name-3.8.3-zlib.patch
21 patch -p 1 -i $SRC/$name-3.8.3-test_io.patch
22 patch -p 1 -i $SRC/$name-3.8.3-autoconf259.patch
23 patch -p 1 -i $SRC/$name-3.8.3-unicode16.patch
24 patch -p 1 -i $SRC/$name-3.8.3-gcc-4.3.patch
25 patch -p 1 -i $SRC/CVE-2007-4460.diff
26
27 sed -i -e 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
28 configure.in zlib/configure.in
29
30 autoreconf -ivfs # buggy configure
31
32 CC='g++' \
33 ./configure \
34 --prefix=/usr \
35 --disable-static \
36 --disable-assert \
37 --enable-debug=no
38
39 make
40 make DESTDIR=$PKG install
41 }
|