mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
0.94n
This commit is contained in:
commit
db1d39eaeb
2 changed files with 51 additions and 0 deletions
16
.SRCINFO
Normal file
16
.SRCINFO
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
pkgbase = mingw-w64-cddlib
|
||||
pkgdesc = C library implementing Double Description Method for convex polyhedra (mingw-w64)
|
||||
pkgver = 0.94n
|
||||
pkgrel = 1
|
||||
url = https://www.inf.ethz.ch/personal/fukudak/cdd_home/
|
||||
arch = any
|
||||
license = GPL-2.0-only
|
||||
makedepends = mingw-w64-configure
|
||||
depends = mingw-w64-gmp
|
||||
options = staticlibs
|
||||
options = !buildflags
|
||||
options = !strip
|
||||
source = https://github.com/cddlib/cddlib/releases/download/0.94n/cddlib-0.94n.tar.gz
|
||||
sha256sums = b87ee07ba2c1d0ab92a3e4eccacdf568f981a095a392e3b9efd7e7e4a9e125b1
|
||||
|
||||
pkgname = mingw-w64-cddlib
|
||||
35
PKGBUILD
Normal file
35
PKGBUILD
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
pkgname=mingw-w64-cddlib
|
||||
pkgver=0.94n
|
||||
pkgrel=1
|
||||
pkgdesc="C library implementing Double Description Method for convex polyhedra (mingw-w64)"
|
||||
arch=('any')
|
||||
url="https://www.inf.ethz.ch/personal/fukudak/cdd_home/"
|
||||
license=(GPL-2.0-only)
|
||||
depends=('mingw-w64-gmp')
|
||||
makedepends=('mingw-w64-configure')
|
||||
options=('staticlibs' '!buildflags' '!strip')
|
||||
source=(https://github.com/cddlib/cddlib/releases/download/$pkgver/cddlib-$pkgver.tar.gz)
|
||||
sha256sums=('b87ee07ba2c1d0ab92a3e4eccacdf568f981a095a392e3b9efd7e7e4a9e125b1')
|
||||
|
||||
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
|
||||
|
||||
build() {
|
||||
cd cddlib-$pkgver
|
||||
for _arch in ${_architectures}; do
|
||||
mkdir -p build-${_arch} && pushd build-${_arch}
|
||||
${_arch}-configure ..
|
||||
make
|
||||
popd
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
for _arch in ${_architectures}; do
|
||||
cd "$srcdir"/cddlib-$pkgver/build-${_arch}
|
||||
make DESTDIR="$pkgdir"/ install
|
||||
rm "$pkgdir"/usr/${_arch}/bin/*.exe
|
||||
rm -r "$pkgdir"/usr/${_arch}/share
|
||||
${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
|
||||
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
|
||||
done
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue