void-packages/srcpkgs/stfl/template

29 lines
750 B
Plaintext
Raw Normal View History

2014-11-14 06:43:05 +01:00
# Template file for 'stfl'
pkgname=stfl
2015-02-21 09:46:18 +01:00
version=0.24
revision=1
2014-11-14 06:43:05 +01:00
build_style=gnu-makefile
2014-11-16 17:06:34 +01:00
hostmakedepends="swig"
2014-11-14 06:43:05 +01:00
makedepends="ncurses-devel"
short_desc="Curses-based widget set for text terminals"
maintainer="Logen K <logen@sudotask.com>"
license="GPL-3"
homepage="http://www.clifford.at/stfl/"
distfiles="http://www.clifford.at/${pkgname}/${pkgname}-${version}.tar.gz"
2015-02-21 09:46:18 +01:00
checksum=d4a7aa181a475aaf8a8914a8ccb2a7ff28919d4c8c0f8a061e17a0c36869c090
2014-11-14 06:43:05 +01:00
post_install(){
2014-11-14 23:33:15 +01:00
ln -sf libstfl.so.${version} ${DESTDIR}/usr/lib/libstfl.so.0
2014-11-14 06:43:05 +01:00
}
2014-11-14 23:13:25 +01:00
stfl-devel_package() {
2014-11-14 23:33:15 +01:00
depends="stfl>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
2014-11-14 23:13:25 +01:00
}