2013-09-19 07:53:56 +00:00
|
|
|
# Template file for 'libedit'
|
|
|
|
pkgname=libedit
|
2014-08-19 14:56:46 +00:00
|
|
|
_datever=20140620
|
2013-09-19 07:53:56 +00:00
|
|
|
_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"
|
2014-08-19 14:56:46 +00:00
|
|
|
checksum=a22b9b2a8cf4aec9ff51a57e8c848b69640d0195282159d245d8137a19bfcaf2
|
2013-09-19 07:53:56 +00:00
|
|
|
|
|
|
|
libedit-devel_package() {
|
2014-08-19 14:56:46 +00:00
|
|
|
depends="ncurses-devel ${sourcepkg}>=${version}_${revision}"
|
2013-09-19 07:53:56 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|