void-packages/srcpkgs/termrec/template
Jürgen Buchmüller 00736f6c22 termrec: needs -fcommon for gcc10
[ci skip]
2020-08-28 18:25:40 +02:00

32 lines
761 B
Bash

# Template file for 'termrec'
pkgname=termrec
version=0.18
revision=1
build_style=gnu-configure
makedepends="libcurl-devel"
short_desc="Record terminal"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="LGPL-2.0-or-later"
homepage="http://angband.pl/termrec.html"
distfiles="${SOURCEFORGE_SITE}/termrec/termrec-${version}.tar.xz"
checksum=34701853dc26073b7cd5d202438998349c45a61a0f210948e79469bf3255a5e3
CFLAGS="-fcommon"
libtermrec_package() {
short_desc+=" - libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libtermrec-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/man/man3
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}