void-packages/srcpkgs/libpar2/template
2017-03-25 16:07:49 +01:00

24 lines
754 B
Bash

# Template file for 'libpar2'
pkgname=libpar2
version=0.4
revision=2
build_style=gnu-configure
maintainer="Leah Neukirchen <leah@vuxu.org>"
hostmakedepends="pkg-config"
makedepends="libsigc++-devel"
license="GPL-2"
homepage="https://launchpad.net/libpar2"
short_desc="Generate, modify, verifiy, and repair 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"
}
}