2008-08-26 11:13:08 +10:00
|
|
|
# Description: An open-source, cross-platform library for reading/writing/manipulating ID3 tags.
|
2006-12-23 12:26:37 -06:00
|
|
|
# URL: http://id3lib.sourceforge.net/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2008-08-26 11:13:08 +10:00
|
|
|
# Depends on: zlib
|
2006-12-23 12:26:37 -06:00
|
|
|
|
|
|
|
name=id3lib
|
|
|
|
version=3.8.3
|
2013-01-07 08:57:31 +11:00
|
|
|
release=3
|
2011-01-10 12:41:48 +11:00
|
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz
|
2008-09-17 02:11:16 +10:00
|
|
|
$name-3.8.3-zlib.patch
|
|
|
|
$name-3.8.3-test_io.patch
|
|
|
|
$name-3.8.3-autoconf259.patch
|
|
|
|
$name-3.8.3-unicode16.patch
|
|
|
|
$name-3.8.3-gcc-4.3.patch
|
|
|
|
CVE-2007-4460.diff)
|
2006-12-23 12:26:37 -06:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2008-08-26 11:13:08 +10:00
|
|
|
|
2008-09-17 02:11:16 +10:00
|
|
|
patch -p 1 -i $SRC/$name-3.8.3-zlib.patch
|
|
|
|
patch -p 1 -i $SRC/$name-3.8.3-test_io.patch
|
|
|
|
patch -p 1 -i $SRC/$name-3.8.3-autoconf259.patch
|
|
|
|
patch -p 1 -i $SRC/$name-3.8.3-unicode16.patch
|
|
|
|
patch -p 1 -i $SRC/$name-3.8.3-gcc-4.3.patch
|
|
|
|
patch -p 1 -i $SRC/CVE-2007-4460.diff
|
2013-01-07 08:57:31 +11:00
|
|
|
|
|
|
|
sed -i -e 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
|
|
|
|
configure.in zlib/configure.in
|
|
|
|
|
2008-09-17 02:11:16 +10:00
|
|
|
autoreconf -ivfs # buggy configure
|
|
|
|
|
|
|
|
CC='g++' \
|
2008-08-26 11:13:08 +10:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2008-09-17 02:11:16 +10:00
|
|
|
--disable-static \
|
|
|
|
--disable-assert \
|
|
|
|
--enable-debug=no
|
2008-08-26 11:13:08 +10:00
|
|
|
|
2006-12-23 12:26:37 -06:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|