void-packages/srcpkgs/libump-git/template
2019-03-02 16:55:54 -03:00

35 lines
943 B
Bash

# Template file for 'libump-git'
pkgname=libump-git
version=20181122
revision=3
_githash="ec0680628744f30b8fac35e41a7bd8e23e59c39f"
wrksrc="libump-${_githash}"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
short_desc="ARMs Universal Memory Provider userspace library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/linux-sunxi/libump"
distfiles="https://github.com/linux-sunxi/libump/archive/${_githash}.tar.gz"
checksum=745bbb3e6a6b2b1d8caec75d2f2e884691ceefa5c2be0480baed31dba66cf450
archs="armv7l"
provides="libump-1.0_1"
replaces="libump>=0"
pre_configure() {
autoreconf -fi
}
libump-git-devel_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/*.so"
vmove usr/lib/pkgconfig
}
}