2015-10-13 22:46:12 +02:00
|
|
|
# Template file for 'libvterm'
|
|
|
|
pkgname=libvterm
|
2016-01-04 04:56:37 +01:00
|
|
|
version=0.0.20151229
|
2015-10-13 22:46:12 +02:00
|
|
|
revision=1
|
2016-01-04 04:56:37 +01:00
|
|
|
_commit=04c0777b139cfbddb057c0cbfc007677dd9f1b4f
|
2015-10-13 22:46:12 +02:00
|
|
|
wrksrc="${pkgname}-${_commit}"
|
|
|
|
build_style=gnu-makefile
|
|
|
|
make_install_target="install-lib install-inc"
|
|
|
|
hostmakedepends="libtool perl pkg-config"
|
|
|
|
short_desc="Abstract VT220/xterm/ECMA-48 emulation library"
|
|
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://www.leonerd.org.uk/code/libvterm"
|
|
|
|
distfiles="https://github.com/neovim/${pkgname}/archive/${_commit}.tar.gz>${pkgname}-${version}.tar.gz"
|
2016-01-04 04:56:37 +01:00
|
|
|
checksum=01a28630fd46fa78b8c05e6caecc9139ef43bc40ff9f225e634326265dfcd4f4
|
2015-10-13 22:46:12 +02:00
|
|
|
|
|
|
|
post_extract() {
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
cp /usr/bin/libtool .
|
|
|
|
sed -e "s,CCLD=.*,CCLD=$CC,g;s,CC=.*,CC=$CC,g" -i libtool
|
|
|
|
sed -e "s,libtool,./libtool,g" -i Makefile
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
|
|
|
libvterm-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|