New package: lzf-3.6

Used by coming virtualbox-ose-6.1.14
This commit is contained in:
Jürgen Buchmüller 2020-09-07 09:42:39 +02:00
parent 087d369f49
commit 959639d11c
3 changed files with 51 additions and 0 deletions

1
srcpkgs/liblzf-devel Symbolic link
View file

@ -0,0 +1 @@
lzf

View file

@ -0,0 +1,21 @@
--- Makefile.in 2011-02-07 17:37:51.000000000 +0100
+++ Makefile.in 2020-09-06 17:34:21.695515951 +0200
@@ -37,12 +37,12 @@
$(RANLIB) $@
install: all
- $(INSTALL) -d $(bindir)
- $(INSTALL) -m 755 lzf $(bindir)
- $(INSTALL) -d $(includedir)
- $(INSTALL_DATA) lzf.h $(includedir)
- $(INSTALL) -d $(libdir)
- $(INSTALL_DATA) liblzf.a $(libdir)
+ $(INSTALL) -d $(DESTDIR)/$(bindir)
+ $(INSTALL) -m 755 lzf $(DESTDIR)/$(bindir)
+ $(INSTALL) -d $(DESTDIR)/$(includedir)
+ $(INSTALL_DATA) lzf.h $(DESTDIR)/$(includedir)
+ $(INSTALL) -d $(DESTDIR)/$(libdir)
+ $(INSTALL_DATA) liblzf.a $(DESTDIR)/$(libdir)
dist:
mkdir liblzf-$(VERSION)

29
srcpkgs/lzf/template Normal file
View file

@ -0,0 +1,29 @@
# Template file for 'lzf'
pkgname=lzf
version=3.6
revision=1
wrksrc="lib${pkgname}-${version}"
build_style=gnu-configure
hostmakedepends="automake"
short_desc="Extremely fast compression algorithm"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="BSD-2-Clause"
homepage="http://software.schmorp.de/pkg/liblzf.html"
distfiles="http://dist.schmorp.de/liblzf/lib${pkgname}-${version}.tar.gz"
checksum=9c5de01f7b9ccae40c3f619d26a7abec9986c06c36d260c179cedd04b89fb46a
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense LICENSE
}
liblzf-devel_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/liblzf.a
vmove usr/include
}
}