PKGBUILDs/core/gawk/PKGBUILD

29 lines
685 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
2009-09-26 15:58:33 +00:00
# Modified by OpenPogo
2009-09-26 14:35:50 +00:00
pkgname=gawk
pkgver=3.1.6
pkgrel=1
pkgdesc="Gnu version of awk"
arch=('arm')
url="http://www.gnu.org/directory/GNU/gawk.html"
license=('GPL')
groups=('base')
provides=('awk')
source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
2009-09-26 15:58:33 +00:00
depends=()
2009-09-26 14:35:50 +00:00
md5sums=('b237751aef53c9ead9644e376bc53386')
build() {
cd $srcdir/$pkgname-$pkgver
2009-09-26 15:58:33 +00:00
./configure --prefix=/opt
2009-09-26 14:35:50 +00:00
make || return 1
make DESTDIR=$pkgdir install
2009-09-26 15:58:33 +00:00
mv "${pkgdir}/opt/libexec" "${pkgdir}/opt/lib"
install -dm755 "${pkgdir}/opt/bin"
# mv ${pkgdir}/opt/bin/gawk* "${pkgdir}/bin/"
# mv ${pkgdir}/opt/bin/awk "${pkgdir}/bin/"
2009-09-26 14:35:50 +00:00
}