New package: libt3key-0.2.10

This commit is contained in:
Andrew Benson 2022-10-18 21:54:52 -05:00 committed by Andrew Benson
parent 1097ac5618
commit ccb7b975e1
4 changed files with 45 additions and 0 deletions

View File

@ -77,6 +77,8 @@ libncursesw.so.6 ncurses-libs-5.8_1 ignore
libtinfo.so.6 ncurses-libtinfo-libs-6.2_2
libt3config.so.0 libt3config-1.0.0_1
libt3highlight.so.2 libt3highlight-0.5.0_1
libt3key.so.1 libt3key-0.2.10_1
libtranscript.so.1 libtranscript-0.3.3_1
libnetcdf.so.15 netcdf-4.7.0_1
libformw.so.6 ncurses-libs-5.8_1 ignore
libfplll.so.7 fplll-5.4.1_1

1
srcpkgs/libt3key-devel Symbolic link
View File

@ -0,0 +1 @@
libt3key

View File

@ -0,0 +1,11 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -83,7 +83,7 @@
$(INSTALL) -s src.util/t3keyc/t3keyc $(_bindir)
$(INSTALL) -d $(_datadir)/libt3key1
find src/database -type f | while read FILE ; do install -m0644 "$$FILE" $(_datadir)/libt3key1 ; \
- $(_bindir)/t3keyc -l $(_datadir)/libt3key1/"$${FILE##*/}" ; done
+ ${QEMU_USER_STATIC} $(_bindir)/t3keyc -l $(_datadir)/libt3key1/"$${FILE##*/}" ; done
$(INSTALL) -d $(_mandir)/man1
$(INSTALL) -m0644 man/t3keyc.1 $(_mandir)/man1
if [ -f src.util/t3learnkeys/t3learnkeys ] ; then $(INSTALL) -s src.util/t3learnkeys/t3learnkeys $(_bindir) ; \

31
srcpkgs/libt3key/template Normal file
View File

@ -0,0 +1,31 @@
# Template file for 'libt3key'
pkgname=libt3key
version=0.2.10
revision=1
build_helper=qemu
build_style=configure
configure_args="--prefix=/usr"
hostmakedepends="pkg-config gettext"
makedepends="libtool gettext-devel libt3config-devel ncurses-libtinfo-devel"
short_desc="Tilde Terminal Toolkit's library for key serquences"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://os.ghalkes.nl/t3/libt3key.html"
distfiles="https://os.ghalkes.nl/dist/libt3key-${version}.tar.bz2"
checksum=b3f63c8a5bdf4efc10a293e5124a4a1095af6149af96b0a10b3ce7da7400f8c1
export LIBTOOL=${XBPS_CROSS_BASE}/usr/bin/libtool
if [ "$CROSS_BUILD" ]; then
export QEMU_USER_STATIC=qemu-${XBPS_TARGET_QEMU_MACHINE}-static
fi
libt3key-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}