core/autoconf/PKGBUILD

44 lines
1.0 KiB
Bash
Raw Normal View History

2010-11-12 06:49:29 +08:00
#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
2010-03-13 23:25:19 +08:00
pkgname=autoconf
2013-05-08 01:54:03 +08:00
pkgver=2.69
pkgrel=1
2010-03-13 23:25:19 +08:00
pkgdesc="A GNU tool for automatically configuring source code"
arch=('any')
license=('GPL2' 'GPL3' 'custom')
url="http://www.gnu.org/software/autoconf"
groups=('base-devel')
depends=('awk' 'm4' 'diffutils' 'bash')
2013-05-08 01:54:03 +08:00
# for test-suite
#makedepends=('gcc-fortran' 'erlang')
2010-03-13 23:25:19 +08:00
install=autoconf.install
2013-05-08 01:54:03 +08:00
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
md5sums=('50f97f4159805e374639a73e2636f22e'
'2941e2fe687e05b3431eac6b714053bc')
2010-03-13 23:25:19 +08:00
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr
2013-05-08 01:54:03 +08:00
make
}
check() {
cd ${srcdir}/${pkgname}-${pkgver}
make check
2010-05-16 23:08:55 +08:00
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
2013-05-08 01:54:03 +08:00
make DESTDIR=${pkgdir} install
2010-03-13 23:25:19 +08:00
# license exception
install -Dm644 COPYING.EXCEPTION \
$pkgdir/usr/share/licenses/autoconf/COPYING.EXCEPTION
# conflict with bintuils
rm -f ${pkgdir}/usr/share/info/standards.info
}