mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 00:57:14 +08:00
44 lines
1.0 KiB
Bash
44 lines
1.0 KiB
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=autoconf
|
|
pkgver=2.69
|
|
pkgrel=1
|
|
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')
|
|
# for test-suite
|
|
#makedepends=('gcc-fortran' 'erlang')
|
|
install=autoconf.install
|
|
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig})
|
|
md5sums=('50f97f4159805e374639a73e2636f22e'
|
|
'2941e2fe687e05b3431eac6b714053bc')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
# license exception
|
|
install -Dm644 COPYING.EXCEPTION \
|
|
$pkgdir/usr/share/licenses/autoconf/COPYING.EXCEPTION
|
|
|
|
# conflict with bintuils
|
|
rm -f ${pkgdir}/usr/share/info/standards.info
|
|
}
|