[arch-commits] Commit in lrs/repos/community-x86_64 (4 files)

Antonio Rojas arojas at archlinux.org
Tue Jul 9 06:36:14 UTC 2019


    Date: Tuesday, July 9, 2019 @ 06:36:13
  Author: arojas
Revision: 487768

archrelease: copy trunk to community-x86_64

Added:
  lrs/repos/community-x86_64/PKGBUILD
    (from rev 487767, lrs/trunk/PKGBUILD)
  lrs/repos/community-x86_64/lrs-system-cflags.patch
    (from rev 487767, lrs/trunk/lrs-system-cflags.patch)
Deleted:
  lrs/repos/community-x86_64/PKGBUILD
  lrs/repos/community-x86_64/lrs-system-cflags.patch

-------------------------+
 PKGBUILD                |   59 +++++++++++++++++++------------------
 lrs-system-cflags.patch |   72 +++++++++++++++++++++++-----------------------
 2 files changed, 66 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-09 06:35:52 UTC (rev 487767)
+++ PKGBUILD	2019-07-09 06:36:13 UTC (rev 487768)
@@ -1,29 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=lrs
-pkgver=070
-pkgrel=1
-pkgdesc="C implementation of the reverse search algorithm for vertex enumeration/convex hull problems"
-arch=(x86_64)
-url="http://cgm.cs.mcgill.ca/~avis/C/lrs.html"
-license=(GPL)
-depends=(gmp)
-source=("http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-$pkgver.tar.gz"
-        lrs-system-cflags.patch)
-sha256sums=('e9f12b29be89b3ad6984f3a9cf83f5776ac06edc57b0716649e63395e5ac4dfe'
-            '23814d543e458f43b9871f5de6112f3ca331d8ded3449c7e2efa681ca5a6606f')
-
-prepare() {
-  cd lrslib-$pkgver
-  patch -p1 -i ../lrs-system-cflags.patch # Use system CFLAGS/LDFLAGS
-}
-
-build() {
-  cd lrslib-$pkgver
-  make -j1
-}
-
-package() {
-  cd lrslib-$pkgver
-  make DESTDIR="$pkgdir" prefix=/usr install
-}

Copied: lrs/repos/community-x86_64/PKGBUILD (from rev 487767, lrs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-09 06:36:13 UTC (rev 487768)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=lrs
+pkgver=070.a
+_pkgver=${pkgver/./}
+pkgrel=1
+pkgdesc="C implementation of the reverse search algorithm for vertex enumeration/convex hull problems"
+arch=(x86_64)
+url="http://cgm.cs.mcgill.ca/~avis/C/lrs.html"
+license=(GPL)
+depends=(gmp)
+source=("http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-$_pkgver.tar.gz"
+        lrs-system-cflags.patch)
+sha256sums=('601f4cef3d07676076256dd2687143047457217cbc658706b00a52e25f0701fd'
+            '23814d543e458f43b9871f5de6112f3ca331d8ded3449c7e2efa681ca5a6606f')
+
+prepare() {
+  cd lrslib-$_pkgver
+  patch -p1 -i ../lrs-system-cflags.patch # Use system CFLAGS/LDFLAGS
+}
+
+build() {
+  cd lrslib-$_pkgver
+  make -j1
+}
+
+package() {
+  cd lrslib-$_pkgver
+  make DESTDIR="$pkgdir" prefix=/usr install
+}

Deleted: lrs-system-cflags.patch
===================================================================
--- lrs-system-cflags.patch	2019-07-09 06:35:52 UTC (rev 487767)
+++ lrs-system-cflags.patch	2019-07-09 06:36:13 UTC (rev 487768)
@@ -1,36 +0,0 @@
---- lrslib-070/makefile.orig	2019-04-29 11:53:55.707113154 +0000
-+++ lrslib-070/makefile	2019-04-29 11:55:36.485187714 +0000
-@@ -35,7 +35,6 @@
- #INCLUDEDIR = /usr/local/include:/usr/include
- #LIBDIR     = /usr/local/lib:/usr/lib
- 
--CFLAGS     = -O3 -Wall
- SHLIB_CFLAGS = -fPIC
- mpicxx=mpic++
- 
-@@ -204,7 +203,7 @@
- # Building (linking) the shared library, and relevant symlinks.
- 
- ${SHLIB}: ${SHLIBOBJ}
--	$(CC) -shared -Wl,-soname=$(SONAME) $(SHLIBFLAGS) -o $@ ${SHLIBOBJ} -lgmp
-+	$(CC) -shared -Wl,-soname=$(SONAME) $(SHLIBFLAGS) -o $@ ${SHLIBOBJ} -lgmp ${LDFLAGS}
- 
- ${SONAME}: ${SHLIB}
- 	ln -sf ${SHLIB} ${SONAME}
-@@ -217,13 +216,13 @@
- all-shared: ${SHLIBBIN}
- 
- lrs-shared: ${SHLINK} lrs.o
--	$(CC) lrs.o -o $@ -L . -llrs
-+	$(CC) lrs.o -o $@ -L . -llrs ${LDFLAGS}
- 
- redund-shared: ${SHLINK}  redund.o
--	$(CC) redund.o -o $@ -L . -llrs
-+	$(CC) redund.o -o $@ -L . -llrs ${LDFLAGS}
- 
- lrsnash-shared: ${SHLINK}  lrsnash.c
--	$(CC) -DGMP -DMA lrsnash.c  lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp
-+	$(CC) -DGMP -DMA lrsnash.c  lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp ${LDFLAGS}
- 
- # build object files for the shared library
- 

Copied: lrs/repos/community-x86_64/lrs-system-cflags.patch (from rev 487767, lrs/trunk/lrs-system-cflags.patch)
===================================================================
--- lrs-system-cflags.patch	                        (rev 0)
+++ lrs-system-cflags.patch	2019-07-09 06:36:13 UTC (rev 487768)
@@ -0,0 +1,36 @@
+--- lrslib-070/makefile.orig	2019-04-29 11:53:55.707113154 +0000
++++ lrslib-070/makefile	2019-04-29 11:55:36.485187714 +0000
+@@ -35,7 +35,6 @@
+ #INCLUDEDIR = /usr/local/include:/usr/include
+ #LIBDIR     = /usr/local/lib:/usr/lib
+ 
+-CFLAGS     = -O3 -Wall
+ SHLIB_CFLAGS = -fPIC
+ mpicxx=mpic++
+ 
+@@ -204,7 +203,7 @@
+ # Building (linking) the shared library, and relevant symlinks.
+ 
+ ${SHLIB}: ${SHLIBOBJ}
+-	$(CC) -shared -Wl,-soname=$(SONAME) $(SHLIBFLAGS) -o $@ ${SHLIBOBJ} -lgmp
++	$(CC) -shared -Wl,-soname=$(SONAME) $(SHLIBFLAGS) -o $@ ${SHLIBOBJ} -lgmp ${LDFLAGS}
+ 
+ ${SONAME}: ${SHLIB}
+ 	ln -sf ${SHLIB} ${SONAME}
+@@ -217,13 +216,13 @@
+ all-shared: ${SHLIBBIN}
+ 
+ lrs-shared: ${SHLINK} lrs.o
+-	$(CC) lrs.o -o $@ -L . -llrs
++	$(CC) lrs.o -o $@ -L . -llrs ${LDFLAGS}
+ 
+ redund-shared: ${SHLINK}  redund.o
+-	$(CC) redund.o -o $@ -L . -llrs
++	$(CC) redund.o -o $@ -L . -llrs ${LDFLAGS}
+ 
+ lrsnash-shared: ${SHLINK}  lrsnash.c
+-	$(CC) -DGMP -DMA lrsnash.c  lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp
++	$(CC) -DGMP -DMA lrsnash.c  lrsnashlib.c -I${INCLUDEDIR} -o $@ -L . -llrs -lgmp ${LDFLAGS}
+ 
+ # build object files for the shared library
+ 


More information about the arch-commits mailing list