void-packages/srcpkgs/libedit/template
2016-06-21 07:43:21 +02:00

31 lines
850 B
Bash

# Template file for 'libedit'
pkgname=libedit
_datever=20160618
_distver=3.1
version=${_datever}.${_distver}
wrksrc="${pkgname}-${_datever}-${_distver}"
revision=1
build_style=gnu-configure
makedepends="ncurses-devel"
short_desc="Port of the NetBSD Command Line Editor Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="2-clause-BSD"
homepage="http://www.thrysoee.dk/editline/"
distfiles="http://www.thrysoee.dk/editline/libedit-${_datever}-${_distver}.tar.gz"
checksum=b6b159c0c6ec8a7f349ea2a75d8b960efa346c462c1ac4921f1ac0de85a9f5d6
post_install() {
vlicense COPYING
}
libedit-devel_package() {
depends="${makedepends} ${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
}
}