2014-11-14 05:43:05 +00:00
|
|
|
# Template file for 'stfl'
|
|
|
|
pkgname=stfl
|
|
|
|
version=0.23
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-makefile
|
|
|
|
hostmakedepends="swig patch"
|
|
|
|
makedepends="ncurses-devel"
|
|
|
|
depends="ncurses"
|
|
|
|
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"
|
|
|
|
checksum=e75ed8427905ad50faf43ed5fefd0cf7b16ee0c1ca87e15d33e360bb92aedfde
|
|
|
|
|
|
|
|
post_extract(){
|
|
|
|
patch -Np1 -i ${FILESDIR}/stfl-void.patch
|
|
|
|
|
|
|
|
}
|
|
|
|
do_build(){
|
|
|
|
LDFLAGS=""
|
|
|
|
}
|
|
|
|
post_install(){
|
|
|
|
ln -sf libstfl.so.${version} ${DESTDIR}/usr/lib/libstfl.so.0
|
|
|
|
}
|
2014-11-14 22:13:25 +00:00
|
|
|
|
|
|
|
# Devel
|
|
|
|
stfl-devel_package() {
|
|
|
|
depends="stfl>=${version}_${revision} $makedepends"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.so"
|
2014-11-14 22:19:59 +00:00
|
|
|
vmove "usr/lib/*.a"
|
2014-11-14 22:13:25 +00:00
|
|
|
}
|
|
|
|
}
|