28 lines
808 B
Bash
28 lines
808 B
Bash
# Template file for 'libedit'
|
|
pkgname=libedit
|
|
_datever=20150325
|
|
_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="2-clause-BSD"
|
|
homepage="http://www.thrysoee.dk/editline/"
|
|
distfiles="http://www.thrysoee.dk/editline/libedit-${_datever}-${_distver}.tar.gz"
|
|
checksum=c88a5e4af83c5f40dda8455886ac98923a9c33125699742603a88a0253fcc8c5
|
|
|
|
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
|
|
}
|
|
}
|