void-packages/srcpkgs/libedit/template

34 lines
864 B
Text
Raw Normal View History

2013-09-19 07:53:56 +00:00
# Template file for 'libedit'
pkgname=libedit
_datever=20130712
_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@gmail.com>"
license="Simplified BSD"
homepage="http://www.thrysoee.dk/editline/"
distfiles="http://www.thrysoee.dk/editline/libedit-${_datever}-${_distver}.tar.gz"
checksum=5d9b1a9dd66f1fe28bbd98e4d8ed1a22d8da0d08d902407dcc4a0702c8d88a37
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
}
}
libedit_package() {
pkg_install() {
vmove all
}
}