milis/talimatname/genel/id3lib/talimat

24 lines
817 B
Plaintext
Raw Normal View History

2017-01-31 02:35:21 +01:00
# Description: ID3v1 and ID3v2 taglarını okuma yazma ve düzenleme için kütüphane
2016-02-24 01:27:23 +01:00
# URL: http://id3lib.sourceforge.net/
2017-01-31 02:35:21 +01:00
# Packager: milisarge
# Depends on:
2016-02-24 01:27:23 +01:00
name=id3lib
version=3.8.3
release=1
source=(http://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.gz
http://downloads.nutyx.org/files/patchs/$name/patch_id3lib_3.8.3_UTF16_writing_bug.diff
http://downloads.nutyx.org/files/patchs/$name/id3lib-3.8.3-CVE-2007-4460.patch
http://downloads.nutyx.org/files/patchs/$name/id3lib-3.8.3-gcc-4.3.patch)
2017-01-31 02:35:21 +01:00
2016-02-24 01:27:23 +01:00
build() {
cd $name-$version
patch -p1 -i ../patch_id3lib_3.8.3_UTF16_writing_bug.diff
patch -p0 -i ../id3lib-3.8.3-CVE-2007-4460.patch
patch -p1 -i ../id3lib-3.8.3-gcc-4.3.patch
2017-01-31 02:35:21 +01:00
./configure --prefix=/usr
2016-02-24 01:27:23 +01:00
sed -i -e 's/^LIBS =/LIBS = -lz -lstdc++/' src/Makefile
make
make DESTDIR=$PKG install
}