void-packages/srcpkgs/libpar2/template
2014-08-20 12:34:15 +02:00

24 lines
789 B
Text

# Template file for 'libpar2'
pkgname=libpar2
version=0.4
revision=1
build_style=gnu-configure
maintainer="Dominik Honnef <dominik@honnef.co>"
hostmakedepends="pkg-config"
makedepends="libsigc++-devel"
license="GPL-2"
homepage="https://launchpad.net/libpar2"
short_desc="Allows for the generation, modification, verification, and repair of PAR and PAR2 recovery sets"
distfiles="https://launchpad.net/${pkgname}/trunk/${version}/+download/${pkgname}-${version}.tar.gz"
checksum=316d6f0eb31eb896f5546171c2e86801aeffe5ae5e2decffc17f0018346796d4
libpar2-devel_package() {
depends="libsigc++-devel ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/libpar2/include/
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}