mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
New package: libtecla-1.6.3 (really)
This commit is contained in:
parent
68f1ccce17
commit
008ca15dfe
4 changed files with 55 additions and 0 deletions
1
srcpkgs/libtecla-devel
Symbolic link
1
srcpkgs/libtecla-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
libtecla
|
17
srcpkgs/libtecla/patches/fix-destdir.patch
Normal file
17
srcpkgs/libtecla/patches/fix-destdir.patch
Normal 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?
|
||||||
|
|
9
srcpkgs/libtecla/patches/musl-build.patch
Normal file
9
srcpkgs/libtecla/patches/musl-build.patch
Normal 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
28
srcpkgs/libtecla/template
Normal 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
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue