void-packages/srcpkgs/libextractor/template

37 lines
1.2 KiB
Plaintext
Raw Normal View History

# Template file for 'libextractor'
pkgname=libextractor
2014-09-29 09:23:39 +02:00
version=1.3
revision=2
short_desc="Library used to extract meta data from files"
maintainer="Martin Riese <grauehaare@gmx.de>"
2014-09-29 09:23:39 +02:00
license="GPL-3"
homepage="http://www.gnu.org/software/libextractor/"
2014-09-29 09:23:39 +02:00
distfiles="http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=868ad64c9a056d6b923d451d746935bffb1ddf5d89c3eb4f67d786001a3f7b7f
build_style=gnu-configure
configure_args="--disable-static"
2014-09-29 09:23:39 +02:00
hostmakedepends="automake gettext-devel libtool pkg-config"
makedepends="
zlib-devel bzip2-devel exiv2-devel tiff-devel libpng-devel libjpeg-turbo-devel
libvorbis-devel libflac-devel giflib-devel libmpeg2-devel ffmpeg-devel
libgsf-devel gtk+3-devel libltdl-devel libarchive-devel file-devel"
pre_configure() {
autoreconf -fi
# make it build with giflib-5.1.0
# see http://wiki.linuxfromscratch.org/blfs/ticket/5076#comment:2
sed -i "/[DE]GifCloseFile/s:gif_file:&, NULL:g" src/plugins/gif_extractor.c
2014-09-29 09:23:39 +02:00
}
libextractor-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove usr/share/info
}
}