From 9bda01d1b9cf25b32e88dcabc3026960ca375c0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20DESBRI=C3=88RES?= Date: Wed, 8 Oct 2014 17:29:09 +0200 Subject: c-algorithms --- pcr/c-algorithms/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pcr/c-algorithms/PKGBUILD 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 +# Maintainer : Aurélien DESBRIERES +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') -- cgit v1.2.3-2-g168b From 148c631a79b1b1d444ee36aeebfa88629415af82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20DESBRI=C3=88RES?= Date: Wed, 8 Oct 2014 17:37:05 +0200 Subject: gengetopt --- pcr/gengetopt/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pcr/gengetopt/PKGBUILD 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 +# Contributor : andreas_baumann +# Contributor : zhuqin +# Maintainer : Aurélien DESBRIÈRES +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 +} -- cgit v1.2.3-2-g168b From f85b4cf31b0e3947f29ce1e9b9140dc89e1e706d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20DESBRI=C3=88RES?= Date: Wed, 8 Oct 2014 17:41:21 +0200 Subject: egypt A devilishly simple tool for creating call graphs of C --- pcr/egypt/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pcr/egypt/PKGBUILD 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 +# Contributor : Dan McGee +# Maintainer : Aurélien DESBRIÈRES + +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 +} -- cgit v1.2.3-2-g168b From 19767b96a2507bc812dbab9b217d2a738f387ca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20DESBRI=C3=88RES?= Date: Wed, 8 Oct 2014 17:54:27 +0200 Subject: octave-control Computer-Aided Control System Design (CACSD) Tools for GNU Octave, ctabe, based on the proven SLICOT Library --- pcr/octave-control/PKGBUILD | 39 +++++++++++++++++++++++++++++++ pcr/octave-control/octave-control.install | 20 ++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 pcr/octave-control/PKGBUILD create mode 100644 pcr/octave-control/octave-control.install 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 +# Maintainer : Aurélien DESBRIÈRES +# +# 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" +} -- cgit v1.2.3-2-g168b From 21ddfa1115aa87f61aef66cb1977ef675784e650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20DESBRI=C3=88RES?= Date: Wed, 8 Oct 2014 19:51:44 +0200 Subject: Signal processing tools --- pcr/octave-general/PKGBUILD | 39 +++++++++++++++++++++++++++++++ pcr/octave-general/octave-general.install | 20 ++++++++++++++++ pcr/octave-signal/PKGBUILD | 39 +++++++++++++++++++++++++++++++ pcr/octave-signal/octave-signal.install | 20 ++++++++++++++++ 4 files changed, 118 insertions(+) create mode 100644 pcr/octave-general/PKGBUILD create mode 100644 pcr/octave-general/octave-general.install create mode 100644 pcr/octave-signal/PKGBUILD create mode 100644 pcr/octave-signal/octave-signal.install 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 +# Maintainer : Aurélien DESBRIÈRES +# +# 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-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 +# Contributor : Clemens Buchacher +# +# 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" +} -- cgit v1.2.3-2-g168b From fa5921422d1d79e82c414ca9ba908d87340af8f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20DESBRI=C3=88RES?= Date: Wed, 8 Oct 2014 20:46:26 +0200 Subject: The Octave-forge Image package provides functions for processing images. --- pcr/octave-image/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++ pcr/octave-image/octave-image.install | 20 +++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 pcr/octave-image/PKGBUILD create mode 100644 pcr/octave-image/octave-image.install 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 +# Contributor : Ng Oon-Ee +# Contriburor : Clemens Buchacher +# Maintainer : Aurélien DESBRIÈRES +# +# 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" +} -- cgit v1.2.3-2-g168b From 93f74bc69ff4e26d7a167db715c5baa508ada89e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20DESBRI=C3=88RES?= Date: Wed, 8 Oct 2014 20:52:46 +0200 Subject: Digital Communications --- pcr/octave-communications/PKGBUILD | 39 ++++++++++++++++++++++ .../octave-communications.install | 20 +++++++++++ 2 files changed, 59 insertions(+) create mode 100644 pcr/octave-communications/PKGBUILD create mode 100644 pcr/octave-communications/octave-communications.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 +# Contributor : Clemens Buchacher +# +# 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" +} -- cgit v1.2.3-2-g168b