From 0441abcabc15e9cdea4d66ecb30ea8d8026e9083 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 21 Jul 2011 01:33:33 -0500 Subject: dejagnu: Move to extra --- abs/core/dejagnu/PKGBUILD | 31 ------------------------------- abs/core/dejagnu/dejagnu.install | 15 --------------- abs/extra/dejagnu/PKGBUILD | 31 +++++++++++++++++++++++++++++++ abs/extra/dejagnu/dejagnu.install | 15 +++++++++++++++ 4 files changed, 46 insertions(+), 46 deletions(-) delete mode 100644 abs/core/dejagnu/PKGBUILD delete mode 100644 abs/core/dejagnu/dejagnu.install create mode 100644 abs/extra/dejagnu/PKGBUILD create mode 100644 abs/extra/dejagnu/dejagnu.install diff --git a/abs/core/dejagnu/PKGBUILD b/abs/core/dejagnu/PKGBUILD deleted file mode 100644 index bc6136b..0000000 --- a/abs/core/dejagnu/PKGBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# $Id$ -# Maintainer: Allan McRae - -pkgname=dejagnu -pkgver=1.5 -pkgrel=1 -pkgdesc="Framework for testing other programs" -arch=('any') -url="http://www.gnu.org/software/dejagnu/" -license=('GPL') -depends=('sh' 'expect') -makedepends=('dejagnu') -options=('!libtool') -install=dejagnu.install -source=(http://ftp.gnu.org/gnu/dejagnu/${pkgname}-${pkgver}.tar.gz) -md5sums=('3df1cbca885e751e22d3ebd1ac64dc3c') - - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure --prefix=/usr - make - make check -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make -j1 DESTDIR="$pkgdir/" install -} diff --git a/abs/core/dejagnu/dejagnu.install b/abs/core/dejagnu/dejagnu.install deleted file mode 100644 index 0e3c430..0000000 --- a/abs/core/dejagnu/dejagnu.install +++ /dev/null @@ -1,15 +0,0 @@ -infodir=usr/share/info - -post_install() { - [ -x usr/bin/install-info ] || return 0 - install-info $infodir/dejagnu.info.gz $infodir/dir 2> /dev/null -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - install-info --delete $infodir/dejagnu.info.gz $infodir/dir 2> /dev/null -} diff --git a/abs/extra/dejagnu/PKGBUILD b/abs/extra/dejagnu/PKGBUILD new file mode 100644 index 0000000..bc6136b --- /dev/null +++ b/abs/extra/dejagnu/PKGBUILD @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Allan McRae + +pkgname=dejagnu +pkgver=1.5 +pkgrel=1 +pkgdesc="Framework for testing other programs" +arch=('any') +url="http://www.gnu.org/software/dejagnu/" +license=('GPL') +depends=('sh' 'expect') +makedepends=('dejagnu') +options=('!libtool') +install=dejagnu.install +source=(http://ftp.gnu.org/gnu/dejagnu/${pkgname}-${pkgver}.tar.gz) +md5sums=('3df1cbca885e751e22d3ebd1ac64dc3c') + + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make + make check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make -j1 DESTDIR="$pkgdir/" install +} diff --git a/abs/extra/dejagnu/dejagnu.install b/abs/extra/dejagnu/dejagnu.install new file mode 100644 index 0000000..0e3c430 --- /dev/null +++ b/abs/extra/dejagnu/dejagnu.install @@ -0,0 +1,15 @@ +infodir=usr/share/info + +post_install() { + [ -x usr/bin/install-info ] || return 0 + install-info $infodir/dejagnu.info.gz $infodir/dir 2> /dev/null +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + install-info --delete $infodir/dejagnu.info.gz $infodir/dir 2> /dev/null +} -- cgit v0.12