40 lines
892 B
Bash
40 lines
892 B
Bash
|
# Template file for 'libump-git'
|
||
|
pkgname=libump-git
|
||
|
version=20150407
|
||
|
revision=1
|
||
|
build_style=gnu-configure
|
||
|
short_desc="ARMs Universal Memory Provider userspace library"
|
||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||
|
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
|
||
|
}
|
||
|
}
|