void-packages/srcpkgs/libump-git/template

35 lines
761 B
Plaintext

# Template file for 'libump-git'
pkgname=libump-git
version=20140127
revision=2
build_style=gnu-configure
short_desc="ARMs unified memory provider library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/libv/libump"
only_for_archs="armv6l armv7l"
provides="libump-1.0_1"
replaces="libump>=0"
hostmakedepends="automake libtool pkg-config"
do_fetch() {
git clone git://github.com/libv/libump ${pkgname}-${version}
}
pre_configure() {
autoreconf -fi
}
libump-devel-git_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
provides="libump-devel-1.0_1"
replaces="libump-devel>=0"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}