void-packages/srcpkgs/libedit/template
2014-10-31 12:20:03 +01:00

27 lines
807 B
Bash

# Template file for 'libedit'
pkgname=libedit
_datever=20141030
_distver=3.1
version=${_datever}.${_distver}
wrksrc="${pkgname}-20141029-${_distver}"
revision=1
build_style=gnu-configure
makedepends="ncurses-devel"
short_desc="Port of the NetBSD Command Line Editor Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Simplified BSD"
homepage="http://www.thrysoee.dk/editline/"
distfiles="http://www.thrysoee.dk/editline/libedit-${_datever}-${_distver}.tar.gz"
checksum=9701e16570fb8f7fa407b506986652221b701a9dd61defc05bb7d1c61cdf5a40
libedit-devel_package() {
depends="ncurses-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/man/man3
}
}