mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
37 lines
958 B
Bash
37 lines
958 B
Bash
#
|
|
# Chakra 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>
|
|
|
|
pkgname=elfutils
|
|
pkgver=0.152
|
|
pkgrel=1
|
|
pkgdesc="Collection of libraries and utilities for working with ELF object files and DWARF debugging information"
|
|
arch=('i686' 'x86_64')
|
|
url="https://fedorahosted.org/elfutils/"
|
|
license=('GPL2')
|
|
depends=('glibc')
|
|
#optdepends=('zlib' 'xz' 'bzip2')
|
|
provides=('libelf')
|
|
replaces=('libelf')
|
|
conflicts=('libelf')
|
|
source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2)
|
|
md5sums=('39739ed58a0fa1862eff8735f111fe5c')
|
|
|
|
build()
|
|
{
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr --program-prefix="eu-"
|
|
make
|
|
echo "<<< STARTING TESTS >>>"
|
|
make check
|
|
echo "<<< ENDING TESTS >>>"
|
|
}
|
|
|
|
package()
|
|
{
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
}
|