mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/lrs to 071.a-1
This commit is contained in:
parent
372196cb3f
commit
e01ccacde1
1 changed files with 6 additions and 6 deletions
|
@ -4,9 +4,9 @@
|
||||||
# - patch to fix up makefile for 32-bit builds
|
# - patch to fix up makefile for 32-bit builds
|
||||||
|
|
||||||
pkgname=lrs
|
pkgname=lrs
|
||||||
pkgver=071
|
pkgver=071.a
|
||||||
_pkgver=${pkgver/./}
|
_pkgver=${pkgver/./}
|
||||||
pkgrel=3
|
pkgrel=1
|
||||||
pkgdesc="C implementation of the reverse search algorithm for vertex enumeration/convex hull problems"
|
pkgdesc="C implementation of the reverse search algorithm for vertex enumeration/convex hull problems"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url="http://cgm.cs.mcgill.ca/~avis/C/lrs.html"
|
url="http://cgm.cs.mcgill.ca/~avis/C/lrs.html"
|
||||||
|
@ -16,24 +16,24 @@ source=("http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/lrslib-$_pkgver.tar.gz"
|
||||||
lrs-system-cflags.patch
|
lrs-system-cflags.patch
|
||||||
lrs-missing-include.patch
|
lrs-missing-include.patch
|
||||||
32-bit-support.patch)
|
32-bit-support.patch)
|
||||||
sha256sums=('d3ea5636bfde3011d43c835773fabe131d9251197b6cc666a52d8caa3e1c7816'
|
sha256sums=('926636ea68de46625f141f6e025dce967cc7e68cf4bf4a597375c063f5c11673'
|
||||||
'8e43f9f6c583c653e28b75907f27f616f45f36d6fc677a4aae6a7004d60424c0'
|
'8e43f9f6c583c653e28b75907f27f616f45f36d6fc677a4aae6a7004d60424c0'
|
||||||
'61da0543e92ab242df1d5adcb6bb842a3c489c011c858705278de1c6cf580649'
|
'61da0543e92ab242df1d5adcb6bb842a3c489c011c858705278de1c6cf580649'
|
||||||
'1981f63153f9fbf3730cea68ff68be0645cecbaa385aa63912e3ab22c978c59c')
|
'1981f63153f9fbf3730cea68ff68be0645cecbaa385aa63912e3ab22c978c59c')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd lrslib-${pkgver%.*}
|
cd lrslib-$_pkgver
|
||||||
patch -p1 -i ../lrs-system-cflags.patch # Use system CFLAGS/LDFLAGS
|
patch -p1 -i ../lrs-system-cflags.patch # Use system CFLAGS/LDFLAGS
|
||||||
patch -p1 -i ../lrs-missing-include.patch # Install missing header
|
patch -p1 -i ../lrs-missing-include.patch # Install missing header
|
||||||
[[ $CARCH != "aarch64" ]] && patch -p1 -i ../32-bit-support.patch || true
|
[[ $CARCH != "aarch64" ]] && patch -p1 -i ../32-bit-support.patch || true
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd lrslib-${pkgver%.*}
|
cd lrslib-$_pkgver
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd lrslib-${pkgver%.*}
|
cd lrslib-$_pkgver
|
||||||
make DESTDIR="$pkgdir" prefix=/usr install
|
make DESTDIR="$pkgdir" prefix=/usr install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue