summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-10-08 18:18:58 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-10-08 18:18:58 -0200
commit58c74b2b003f29da380ba81dd5462b58c01582d6 (patch)
tree290ebb83d306cd9d47ea5af7a925350b06ab39f4 /pcr
parent77e69ee75cf260af0ade12c13e9f3b164b49d920 (diff)
parent93f74bc69ff4e26d7a167db715c5baa508ada89e (diff)
downloadabslibre-58c74b2b003f29da380ba81dd5462b58c01582d6.tar.gz
abslibre-58c74b2b003f29da380ba81dd5462b58c01582d6.tar.bz2
abslibre-58c74b2b003f29da380ba81dd5462b58c01582d6.zip
Merge branch 'master' of ssh://projects.parabola.nu/~git/abslibre
Diffstat (limited to 'pcr')
-rw-r--r--pcr/c-algorithms/PKGBUILD26
-rw-r--r--pcr/egypt/PKGBUILD31
-rw-r--r--pcr/gengetopt/PKGBUILD26
-rw-r--r--pcr/octave-communications/PKGBUILD39
-rw-r--r--pcr/octave-communications/octave-communications.install20
-rw-r--r--pcr/octave-control/PKGBUILD39
-rw-r--r--pcr/octave-control/octave-control.install20
-rw-r--r--pcr/octave-general/PKGBUILD39
-rw-r--r--pcr/octave-general/octave-general.install20
-rw-r--r--pcr/octave-image/PKGBUILD41
-rw-r--r--pcr/octave-image/octave-image.install20
-rw-r--r--pcr/octave-signal/PKGBUILD39
-rw-r--r--pcr/octave-signal/octave-signal.install20
13 files changed, 380 insertions, 0 deletions
diff --git a/pcr/c-algorithms/PKGBUILD b/pcr/c-algorithms/PKGBUILD
new file mode 100644
index 000000000..c18545cdc
--- /dev/null
+++ b/pcr/c-algorithms/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
+# Contributor : Sebastien Binet <binet@farnsworth>
+# Maintainer : Aurélien DESBRIERES <aurelien@hackers.camp>
+pkgname=c-algorithms
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="A collection of many common data structures and algorithms for C"
+url="http://c-algorithms.sourceforge.net/"
+arch=('i686' 'x86_64')
+license=('BSD')
+depends=('glibc')
+makedepends=('gcc')
+conflicts=()
+replaces=()
+backup=()
+install=
+source=(http://heanet.dl.sourceforge.net/sourceforge/c-algorithms/$pkgname-$pkgver.tar.gz)
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make DESTDIR=${pkgdir} install || return 1
+}
+
+md5sums=('d104d55ee9c97a2766b0850b44b6e85f')
diff --git a/pcr/egypt/PKGBUILD b/pcr/egypt/PKGBUILD
new file mode 100644
index 000000000..463d6fb32
--- /dev/null
+++ b/pcr/egypt/PKGBUILD
@@ -0,0 +1,31 @@
+# Contributor : Ivan Sichmann Freitas <ivansichfreitas@gmail.com>
+# Contributor : Dan McGee <dpmcgee@gmail.com>
+# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=egypt
+pkgver=1.10
+pkgrel=2
+pkgdesc="A devilishly simple tool for creating call graphs of C programs"
+url="http://www.gson.org/egypt/"
+license=('GPL')
+arch=('any')
+depends=('perl' 'graphviz')
+source=(http://www.gson.org/$pkgname/download/$pkgname-$pkgver.tar.gz)
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ perl Makefile.PL
+ make
+
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+ # remove a local-only file
+ find $pkgdir -name perllocal.pod -exec rm {} \;
+ # moving the executable to the default system path
+ mv $pkgdir/usr/bin/site_perl/egypt $pkgdir/usr/bin
+ rmdir $pkgdir/usr/bin/site_perl
+ rmdir $pkgdir/usr/lib/perl5/core_perl
+}
diff --git a/pcr/gengetopt/PKGBUILD b/pcr/gengetopt/PKGBUILD
new file mode 100644
index 000000000..bc4bd7308
--- /dev/null
+++ b/pcr/gengetopt/PKGBUILD
@@ -0,0 +1,26 @@
+# Contributor : Christian Hesse <mail@eworm.de>
+# Contributor : andreas_baumann <abaumann@yahoo.com>
+# Contributor : zhuqin <zhuqin83@gmail.com>
+# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+pkgname=gengetopt
+pkgver=2.22.6
+pkgrel=2
+pkgdesc="A tool to write command line option parsing code for C programs."
+arch=('i686' 'x86_64' 'arm' 'armv6h')
+url="http://www.gnu.org/software/gengetopt/gengetopt.html"
+license="GPL"
+options=('!docs' '!makeflags')
+source=(ftp://ftp.gnu.org/gnu/gengetopt/${pkgname}-${pkgver}.tar.gz{,.sig})
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+}
diff --git a/pcr/octave-communications/PKGBUILD b/pcr/octave-communications/PKGBUILD
new file mode 100644
index 000000000..31f11bb8c
--- /dev/null
+++ b/pcr/octave-communications/PKGBUILD
@@ -0,0 +1,39 @@
+#
+# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+# Contributor : Clemens Buchacher <drizzd@aon.at>
+#
+# You can use the newpkg script from
+# https://github.com/drizzd/octave-forge-archlinux to automatically generate
+# new octave-forge PKGBUILDs or update existing ones. Patches welcome.
+#
+
+_pack=communications
+pkgname=octave-$_pack
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="Digital Communications, Error Correcting Codes (Channel Code), Source Code functions, Modulation and Galois Fields"
+arch=(any)
+url="http://octave.sourceforge.net/$_pack/"
+license=('GPL3')
+groups=('octave-forge')
+depends=('octave>=3.4' 'octave-signal>=1.1.3')
+makedepends=()
+optdepends=()
+backup=()
+options=()
+install=$pkgname.install
+_archive=$_pack-$pkgver.tar.gz
+source=("http://downloads.sourceforge.net/octave/$_archive")
+noextract=("$_archive")
+
+build() {
+ cd "$srcdir"
+ mkdir -p builddir
+ octave -q -f --eval "pkg build -verbose -nodeps builddir $_archive"
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/share/octave/packages"
+ mkdir -p "$pkgdir/usr/lib/octave/packages"
+ cp "$srcdir/builddir/$_archive" "$pkgdir/usr/share/octave/$_pack.tar.gz"
+}
diff --git a/pcr/octave-communications/octave-communications.install b/pcr/octave-communications/octave-communications.install
new file mode 100644
index 000000000..77b123c4e
--- /dev/null
+++ b/pcr/octave-communications/octave-communications.install
@@ -0,0 +1,20 @@
+_pack=communications
+_prefix=/usr/share/octave/packages
+_libdir=/usr/lib/octave/packages
+
+## arg 1: the new package version
+post_install() {
+ octave -q -f --eval "pkg prefix $prefix $libdir; pkg install -verbose -global /usr/share/octave/$_pack.tar.gz"
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ post_remove
+ post_install
+}
+
+## arg 1: the old package version
+post_remove() {
+ octave -q -f --eval "pkg prefix $prefix $libdir; pkg uninstall $_pack; pkg rebuild -global"
+}
diff --git a/pcr/octave-control/PKGBUILD b/pcr/octave-control/PKGBUILD
new file mode 100644
index 000000000..3db8a4593
--- /dev/null
+++ b/pcr/octave-control/PKGBUILD
@@ -0,0 +1,39 @@
+#
+# Contributor : Clemens Buchacher <drizzd@aon.at>
+# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+#
+# You can use the newpkg script from
+# https://github.com/drizzd/octave-forge-archlinux to automatically generate
+# new octave-forge PKGBUILDs or update existing ones. Patches welcome.
+#
+
+_pack=control
+pkgname=octave-$_pack
+pkgver=2.6.4
+pkgrel=1
+pkgdesc="Computer-Aided Control System Design (CACSD) Tools for GNU Octave, based on the proven SLICOT Library"
+arch=(any)
+url="http://octave.sourceforge.net/$_pack/"
+license=('GPL3')
+groups=('octave-forge')
+depends=('octave>=3.6.0')
+makedepends=('gcc-fortran')
+optdepends=()
+backup=()
+options=('!makeflags')
+install=$pkgname.install
+_archive=$_pack-$pkgver.tar.gz
+source=("http://downloads.sourceforge.net/octave/$_archive")
+noextract=("$_archive")
+
+build() {
+ cd "$srcdir"
+ mkdir -p builddir
+ octave -q -f --eval "pkg build -verbose -nodeps builddir $_archive"
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/share/octave/packages"
+ mkdir -p "$pkgdir/usr/lib/octave/packages"
+ cp "$srcdir/builddir/$_archive" "$pkgdir/usr/share/octave/$_pack.tar.gz"
+}
diff --git a/pcr/octave-control/octave-control.install b/pcr/octave-control/octave-control.install
new file mode 100644
index 000000000..2ddb42de9
--- /dev/null
+++ b/pcr/octave-control/octave-control.install
@@ -0,0 +1,20 @@
+_pack=control
+_prefix=/usr/share/octave/packages
+_libdir=/usr/lib/octave/packages
+
+## arg 1: the new package version
+post_install() {
+ octave -q -f --eval "pkg prefix $prefix $libdir; pkg install -verbose -global /usr/share/octave/$_pack.tar.gz"
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ post_remove
+ post_install
+}
+
+## arg 1: the old package version
+post_remove() {
+ octave -q -f --eval "pkg prefix $prefix $libdir; pkg uninstall $_pack; pkg rebuild -global"
+}
diff --git a/pcr/octave-general/PKGBUILD b/pcr/octave-general/PKGBUILD
new file mode 100644
index 000000000..9a4790fea
--- /dev/null
+++ b/pcr/octave-general/PKGBUILD
@@ -0,0 +1,39 @@
+#
+# Contributor : Clemens Buchacher <drizzd@aon.at>
+# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+#
+# You can use the newpkg script from
+# https://github.com/drizzd/octave-forge-archlinux to automatically generate
+# new octave-forge PKGBUILDs or update existing ones. Patches welcome.
+#
+
+_pack=general
+pkgname=octave-$_pack
+pkgver=1.3.4
+pkgrel=1
+pkgdesc="General tools for Octave."
+arch=(any)
+url="http://octave.sourceforge.net/$_pack/"
+license=('custom')
+groups=('octave-forge')
+depends=('octave>=3.8.0')
+makedepends=()
+optdepends=()
+backup=()
+options=()
+install=$pkgname.install
+_archive=$_pack-$pkgver.tar.gz
+source=("http://downloads.sourceforge.net/octave/$_archive")
+noextract=("$_archive")
+
+build() {
+ cd "$srcdir"
+ mkdir -p builddir
+ octave -q -f --eval "pkg build -verbose -nodeps builddir $_archive"
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/share/octave/packages"
+ mkdir -p "$pkgdir/usr/lib/octave/packages"
+ cp "$srcdir/builddir/$_archive" "$pkgdir/usr/share/octave/$_pack.tar.gz"
+}
diff --git a/pcr/octave-general/octave-general.install b/pcr/octave-general/octave-general.install
new file mode 100644
index 000000000..1a0a2df71
--- /dev/null
+++ b/pcr/octave-general/octave-general.install
@@ -0,0 +1,20 @@
+_pack=general
+_prefix=/usr/share/octave/packages
+_libdir=/usr/lib/octave/packages
+
+## arg 1: the new package version
+post_install() {
+ octave -q -f --eval "pkg prefix $prefix $libdir; pkg install -verbose -global /usr/share/octave/$_pack.tar.gz"
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ post_remove
+ post_install
+}
+
+## arg 1: the old package version
+post_remove() {
+ octave -q -f --eval "pkg prefix $prefix $libdir; pkg uninstall $_pack; pkg rebuild -global"
+}
diff --git a/pcr/octave-image/PKGBUILD b/pcr/octave-image/PKGBUILD
new file mode 100644
index 000000000..1fd17c752
--- /dev/null
+++ b/pcr/octave-image/PKGBUILD
@@ -0,0 +1,41 @@
+#
+# Contributor : Philipp Brüschweiler <blei42 gmail com>
+# Contributor : Ng Oon-Ee <ngoonee.talk@gmail.com>
+# Contriburor : Clemens Buchacher <drizzd@aon.at>
+# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+#
+# You can use the newpkg script from
+# https://github.com/drizzd/octave-forge-archlinux to automatically generate
+# new octave-forge PKGBUILDs or update existing ones. Patches welcome.
+#
+
+_pack=image
+pkgname=octave-$_pack
+pkgver=2.2.1
+pkgrel=1
+pkgdesc="The Octave-forge Image package provides functions for processing images. The package also provides functions for feature extraction, image statistics, spatial and geometric transformations, morphological operations, linear filtering, and much more."
+arch=(any)
+url="http://octave.sourceforge.net/$_pack/"
+license=('custom')
+groups=('octave-forge')
+depends=('octave>=3.8.0' 'octave-signal>=1.2.0' 'octave-general>=1.3.0')
+makedepends=()
+optdepends=()
+backup=()
+options=()
+install=$pkgname.install
+_archive=$_pack-$pkgver.tar.gz
+source=("http://downloads.sourceforge.net/octave/$_archive")
+noextract=("$_archive")
+
+build() {
+ cd "$srcdir"
+ mkdir -p builddir
+ octave -q -f --eval "pkg build -verbose -nodeps builddir $_archive"
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/share/octave/packages"
+ mkdir -p "$pkgdir/usr/lib/octave/packages"
+ cp "$srcdir/builddir/$_archive" "$pkgdir/usr/share/octave/$_pack.tar.gz"
+}
diff --git a/pcr/octave-image/octave-image.install b/pcr/octave-image/octave-image.install
new file mode 100644
index 000000000..5e4edf2da
--- /dev/null
+++ b/pcr/octave-image/octave-image.install
@@ -0,0 +1,20 @@
+_pack=image
+_prefix=/usr/share/octave/packages
+_libdir=/usr/lib/octave/packages
+
+## arg 1: the new package version
+post_install() {
+ octave -q -f --eval "pkg prefix $prefix $libdir; pkg install -verbose -global /usr/share/octave/$_pack.tar.gz"
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ post_remove
+ post_install
+}
+
+## arg 1: the old package version
+post_remove() {
+ octave -q -f --eval "pkg prefix $prefix $libdir; pkg uninstall $_pack; pkg rebuild -global"
+}
diff --git a/pcr/octave-signal/PKGBUILD b/pcr/octave-signal/PKGBUILD
new file mode 100644
index 000000000..fe48bd102
--- /dev/null
+++ b/pcr/octave-signal/PKGBUILD
@@ -0,0 +1,39 @@
+#
+# Maintainer : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+# Contributor : Clemens Buchacher <drizzd@aon.at>
+#
+# You can use the newpkg script from
+# https://github.com/drizzd/octave-forge-archlinux to automatically generate
+# new octave-forge PKGBUILDs or update existing ones. Patches welcome.
+#
+
+_pack=signal
+pkgname=octave-$_pack
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="Signal processing tools, including filtering, windowing and display functions."
+arch=(any)
+url="http://octave.sourceforge.net/$_pack/"
+license=('custom')
+groups=('octave-forge')
+depends=('octave>=3.8.0' 'octave-control>=2.4.5' 'octave-general>=1.3.2')
+makedepends=()
+optdepends=()
+backup=()
+options=()
+install=$pkgname.install
+_archive=$_pack-$pkgver.tar.gz
+source=("http://downloads.sourceforge.net/octave/$_archive")
+noextract=("$_archive")
+
+build() {
+ cd "$srcdir"
+ mkdir -p builddir
+ octave -q -f --eval "pkg build -verbose -nodeps builddir $_archive"
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/share/octave/packages"
+ mkdir -p "$pkgdir/usr/lib/octave/packages"
+ cp "$srcdir/builddir/$_archive" "$pkgdir/usr/share/octave/$_pack.tar.gz"
+}
diff --git a/pcr/octave-signal/octave-signal.install b/pcr/octave-signal/octave-signal.install
new file mode 100644
index 000000000..1d5a466a5
--- /dev/null
+++ b/pcr/octave-signal/octave-signal.install
@@ -0,0 +1,20 @@
+_pack=signal
+_prefix=/usr/share/octave/packages
+_libdir=/usr/lib/octave/packages
+
+## arg 1: the new package version
+post_install() {
+ octave -q -f --eval "pkg prefix $prefix $libdir; pkg install -verbose -global /usr/share/octave/$_pack.tar.gz"
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ post_remove
+ post_install
+}
+
+## arg 1: the old package version
+post_remove() {
+ octave -q -f --eval "pkg prefix $prefix $libdir; pkg uninstall $_pack; pkg rebuild -global"
+}