2015-04-07 11:33:55 +02:00
|
|
|
# Template file for 'libump-git'
|
|
|
|
pkgname=libump-git
|
|
|
|
version=20150407
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
short_desc="ARMs Universal Memory Provider userspace library"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2015-04-07 11:33:55 +02:00
|
|
|
license="Apache-2.0"
|
|
|
|
homepage="https://github.com/linux-sunxi/libump"
|
|
|
|
hostmakedepends="git automake libtool pkg-config"
|
|
|
|
|
|
|
|
only_for_archs="armv7l"
|
|
|
|
provides="libump-1.0_1"
|
|
|
|
replaces="libump>=0"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local _githash="ec0680628744f30b8fac35e41a7bd8e23e59c39f"
|
|
|
|
|
|
|
|
git clone https://github.com/linux-sunxi/libump ${wrksrc}
|
|
|
|
cd ${wrksrc}
|
|
|
|
git checkout ${_githash}
|
|
|
|
}
|
|
|
|
|
|
|
|
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/*.so
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|