[arch-commits] Commit in modular_decomposition (5 files)
Antonio Rojas
arojas at archlinux.org
Wed Apr 8 20:26:00 UTC 2015
Date: Wednesday, April 8, 2015 @ 22:25:59
Author: arojas
Revision: 130964
archrelease: copy trunk to community-i686, community-x86_64
Added:
modular_decomposition/repos/
modular_decomposition/repos/community-i686/
modular_decomposition/repos/community-i686/PKGBUILD
(from rev 130963, modular_decomposition/trunk/PKGBUILD)
modular_decomposition/repos/community-x86_64/
modular_decomposition/repos/community-x86_64/PKGBUILD
(from rev 130963, modular_decomposition/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 25 +++++++++++++++++++++++++
community-x86_64/PKGBUILD | 25 +++++++++++++++++++++++++
2 files changed, 50 insertions(+)
Copied: modular_decomposition/repos/community-i686/PKGBUILD (from rev 130963, modular_decomposition/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD (rev 0)
+++ repos/community-i686/PKGBUILD 2015-04-08 20:25:59 UTC (rev 130964)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=modular_decomposition
+pkgver=20100607
+pkgrel=1
+pkgdesc="An implementation of a modular decomposition algorithm"
+arch=(i686 x86_64)
+url="http://www.liafa.jussieu.fr/~fm/algos/index.html"
+license=(GPL2)
+depends=(glibc)
+source=("http://www.sagemath.org/packages/upstream/$pkgname/$pkgname-$pkgver.tar.bz2")
+md5sums=('9bc5245c5fab9df4f45c8e10c27cf3b8')
+
+build() {
+ cd $pkgname-$pkgver
+ gcc -o libmodulardecomposition.so dm.c random.c -fPIC --shared
+}
+
+package() {
+ cd $pkgname-$pkgver
+ mkdir -p "$pkgdir"/usr/{include,lib}
+ cp libmodulardecomposition.so "$pkgdir"/usr/lib
+ cp dm_english.h "$pkgdir"/usr/include/modular_decomposition.h
+}
Copied: modular_decomposition/repos/community-x86_64/PKGBUILD (from rev 130963, modular_decomposition/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2015-04-08 20:25:59 UTC (rev 130964)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=modular_decomposition
+pkgver=20100607
+pkgrel=1
+pkgdesc="An implementation of a modular decomposition algorithm"
+arch=(i686 x86_64)
+url="http://www.liafa.jussieu.fr/~fm/algos/index.html"
+license=(GPL2)
+depends=(glibc)
+source=("http://www.sagemath.org/packages/upstream/$pkgname/$pkgname-$pkgver.tar.bz2")
+md5sums=('9bc5245c5fab9df4f45c8e10c27cf3b8')
+
+build() {
+ cd $pkgname-$pkgver
+ gcc -o libmodulardecomposition.so dm.c random.c -fPIC --shared
+}
+
+package() {
+ cd $pkgname-$pkgver
+ mkdir -p "$pkgdir"/usr/{include,lib}
+ cp libmodulardecomposition.so "$pkgdir"/usr/lib
+ cp dm_english.h "$pkgdir"/usr/include/modular_decomposition.h
+}
More information about the arch-commits
mailing list