New package: zeroc-mcpp-2.7.2.14

This commit is contained in:
a dinosaur 2021-02-21 11:15:13 +11:00 committed by John Zimmermann
parent 52d5a05999
commit 71594b3d79
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,18 @@
diff --git a/Makefile b/Makefile
index bfbf543..9fa6deb 100644
--- a/Makefile
+++ b/Makefile
@@ -55,9 +55,11 @@ $(LIBDIR)/libmcpp.a: $(OBJS)
$(AR) rcs $(LIBDIR)/libmcpp.a $(OBJS)
install: $(LIBDIR)/libmcpp.a
- @mkdir -p $(PREFIX)/$(LIBDIR)
- cp $(LIBDIR)/libmcpp.a $(PREFIX)/$(LIBDIR)
+ install -Dm644 $(LIBDIR)/libmcpp.a $(DESTDIR)$(PREFIX)/$(LIBDIR)/libmcpp.a
+ install -Dm644 mcpp_lib.h $(DESTDIR)$(PREFIX)/include/mcpp_lib.h
+ install -m644 mcpp_out.h $(DESTDIR)$(PREFIX)/include/mcpp_out.h
+.PHONY: clean
clean:
rm -f $(OBJS)
rm -rf $(LIBDIR)

View file

@ -0,0 +1,21 @@
# Template file for 'zeroc-mcpp'
pkgname=zeroc-mcpp
version=2.7.2.14
revision=1
wrksrc="mcpp-${version}"
build_style=gnu-makefile
make_build_args="LIBDIR=lib"
make_install_args="LIBDIR=lib"
short_desc="Simplified fork of mcpp from ZeroC, for building ICE"
maintainer="a dinosaur <nick@a-dinosaur.com>"
license="BSD-2-Clause"
homepage="https://github.com/zeroc-ice/mcpp"
distfiles="https://github.com/zeroc-ice/mcpp/archive/v${version}.tar.gz"
checksum=1a426cf2d513ffd66634384d5445dcce1aac83be1789a56044013eab8ca8ffff
nostrip=yes
conflicts=mcpp-devel
patch_args="-Np1"
post_install() {
vlicense LICENSE
}