void-packages/srcpkgs/libzen/template

33 lines
790 B
Bash
Raw Normal View History

2015-05-06 05:22:12 +02:00
# Template build file for 'libzen'.
# vim: set ft=sh:
pkgname=libzen
version=0.4.31
revision=1
short_desc="Shared library for libmediainfo and mediainfo"
homepage="http://mediaarea.net/MediaInfo"
maintainer="Georg Schabel <gescha@posteo.de>"
license="zlib"
distfiles="${SOURCEFORGE_SITE}/zenlib/${pkgname}_${version}.tar.gz"
checksum=98ddd5c8e02d672055b0087067bc9bcdff27d5f9a8b8943fc209c53d2cf4caa7
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
configure_args="--prefix=/usr --enable-shared"
create_wrksrc=yes
build_wrksrc="ZenLib/Project/GNU/Library"
pre_configure() {
autoreconf -fi
}
libzen-devel_package() {
depends="libzen>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}