summaryrefslogtreecommitdiffstats
path: root/abs/extra/id3lib
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 19:50:28 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 19:50:28 (GMT)
commit9febeaff9f329b035dab8caa64518b245b72e44d (patch)
tree5b036b4bca6bd68bf9a8630970f3785cf3b73762 /abs/extra/id3lib
parenteb66a0f736db054e78e6caed0ba6613ef20b42e1 (diff)
downloadlinhes_pkgbuild-9febeaff9f329b035dab8caa64518b245b72e44d.zip
linhes_pkgbuild-9febeaff9f329b035dab8caa64518b245b72e44d.tar.gz
linhes_pkgbuild-9febeaff9f329b035dab8caa64518b245b72e44d.tar.bz2
id3lib 3.8.3
Diffstat (limited to 'abs/extra/id3lib')
-rw-r--r--abs/extra/id3lib/PKGBUILD40
1 files changed, 23 insertions, 17 deletions
diff --git a/abs/extra/id3lib/PKGBUILD b/abs/extra/id3lib/PKGBUILD
index ba0328a..a8768b8 100644
--- a/abs/extra/id3lib/PKGBUILD
+++ b/abs/extra/id3lib/PKGBUILD
@@ -1,29 +1,35 @@
-# $Id: PKGBUILD 2134 2008-05-26 00:30:40Z eric $
-# Maintainer:
+# $Id: PKGBUILD 151326 2012-02-25 14:15:27Z pierre $
# Contributor: Jochem Kossen <j.kossen@home.nl>
+
pkgname=id3lib
pkgver=3.8.3
-pkgrel=10
+pkgrel=12
pkgdesc="An open-source, cross-platform software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags"
-arch=(i686 x86_64)
+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')
+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 ${startdir}/src/${pkgname}-${pkgver}
- patch -Np1 -i ${startdir}/src/patch_id3lib_3.8.3_UTF16_writing_bug.diff || return 1
- patch -Np0 -i ${startdir}/src/id3lib-3.8.3-CVE-2007-4460.patch || return 1
- patch -Np1 -i ${startdir}/src/id3lib-3.8.3-gcc-4.3.patch || return 1
+ 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 || return 1
- make || return 1
- make DESTDIR=${startdir}/pkg install
+ sed -i -e 's/^LIBS =/LIBS = -lz -lstdc++/' src/Makefile
+ make
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
}