New package: libtecla-1.6.3 (really)

This commit is contained in:
Jürgen Buchmüller 2017-12-18 11:36:56 +01:00
parent 68f1ccce17
commit 008ca15dfe
4 changed files with 55 additions and 0 deletions

1
srcpkgs/libtecla-devel Symbolic link
View file

@ -0,0 +1 @@
libtecla

View file

@ -0,0 +1,17 @@
--- Makefile.in.orig
+++ Makefile.in
@@ -15,10 +15,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
-LIBDIR=@libdir@
-INCDIR=@includedir@
-MANDIR=@mandir@
-BINDIR=@bindir@
+LIBDIR=$(DESTDIR)@libdir@
+INCDIR=$(DESTDIR)@includedir@
+MANDIR=$(DESTDIR)@mandir@
+BINDIR=$(DESTDIR)@bindir@
# Which C compiler do you want to use?

View file

@ -0,0 +1,9 @@
--- Makefile.rules.orig
+++ Makefile.rules
@@ -165,5 +165,5 @@
# Include file dependencies.
#-----------------------------------------------------------------------
-$(OBJDIR)/keytab.h: $(srcdir)/keytab.h $(srcdir)/libtecla.h
+$(OBJDIR)/keytab.h: $(srcdir)/keytab.h $(srcdir)/libtecla.h $(OBJDIR)
cp $(srcdir)/keytab.h $@

28
srcpkgs/libtecla/template Normal file
View file

@ -0,0 +1,28 @@
# Template file for 'libtecla'
pkgname=libtecla
version=1.6.3
revision=1
wrksrc=${pkgname}
build_style=gnu-configure
makedepends="ncurses-devel"
short_desc="Provides interactive command line editing facilities"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="MIT/X11"
homepage="http://www.astro.caltech.edu/~mcs/tecla"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
checksum=f2757cc55040859fcf8f59a0b7b26e0184a22bece44ed9568a4534a478c1ee1a
post_install() {
vlicense LICENSE.TERMS LICENSE
}
libtecla-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/share/man/man3
}
}