New package: frobby-0.9.5
This commit is contained in:
parent
69290d8b7e
commit
05f71e37dd
|
@ -0,0 +1 @@
|
|||
frobby
|
|
@ -0,0 +1,35 @@
|
|||
diff --git a/Makefile b/Makefile
|
||||
index 36a3778..2529515 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -6,10 +6,8 @@
|
||||
# ========================
|
||||
# For GMP set **both** GMP_INC_DIR **and** ldflags_for_gmp
|
||||
# If you have a system installation of GMP with C++ support use next 2 lines:
|
||||
-# GMP_INC_DIR=
|
||||
-# ldflags_for_gmp=-lgmpxx -lgmp
|
||||
-GMP_INC_DIR=/usr/local/include
|
||||
-ldflags_for_gmp=-L/usr/local/lib -lgmpxx -lgmp
|
||||
+GMP_INC_DIR=
|
||||
+ldflags_for_gmp=-lgmpxx -lgmp
|
||||
|
||||
|
||||
|
||||
@@ -80,7 +78,7 @@ ifndef CXX
|
||||
endif
|
||||
|
||||
ifndef BIN_INSTALL_DIR
|
||||
- BIN_INSTALL_DIR = "/usr/local/bin/"
|
||||
+ BIN_INSTALL_DIR = "/usr/bin/"
|
||||
endif
|
||||
|
||||
cxxflags = $(CXXFLAGS) $(CPPFLAGS) -I $(GMP_INC_DIR) -Wno-uninitialized -Wno-unused-parameter
|
||||
@@ -252,7 +250,7 @@ endif
|
||||
|
||||
-include $(objs:.o=.d)
|
||||
|
||||
-PREFIX ?= /usr/local
|
||||
+PREFIX ?= /usr
|
||||
MAN1DIR ?= $(PREFIX)/share/man/man1
|
||||
|
||||
# Installation.
|
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'frobby'
|
||||
pkgname=frobby
|
||||
version=0.9.5
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
makedepends="gmp-devel gmpxx-devel"
|
||||
short_desc="Computations with monomial ideals"
|
||||
maintainer="Eloi Torrents <eloitor@disroot.org>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://github.com/Macaulay2/frobby"
|
||||
changelog="https://raw.githubusercontent.com/Macaulay2/frobby/master/changelog.txt"
|
||||
distfiles="https://github.com/Macaulay2/frobby/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=714c33c4f68e86d82062d7a42ad42c581d4b4c60d6a73ee1836ba1be7f985eb3
|
||||
|
||||
post_build() {
|
||||
RANLIB=/usr/bin/ranlib make CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" library
|
||||
}
|
||||
|
||||
frobby-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmkdir usr/include
|
||||
vcopy src/frobby.h usr/include
|
||||
vcopy src/stdinc.h usr/include
|
||||
vcopy bin/libfrobby.a usr/lib
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue