mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=autoconf
|
|
pkgver=2.68
|
|
pkgrel=3
|
|
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')
|
|
install=autoconf.install
|
|
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
|
md5sums=('723677f7727542d273112e7feb870a7a')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
# license exception
|
|
install -Dm644 COPYING.EXCEPTION \
|
|
$pkgdir/usr/share/licenses/autoconf/COPYING.EXCEPTION
|
|
|
|
# conflict with bintuils
|
|
rm -f ${pkgdir}/usr/share/info/standards.info
|
|
}
|