# Maintainer: Natanael Copa setvar pkgname = 'libelf' setvar pkgver = '0.8.13' setvar pkgrel = '3' setvar pkgdesc = ""libelf is a free ELF object file access library"" setvar url = ""http://www.mr511.de/software/"" setvar arch = ""all"" setvar license = ""GPL"" setvar depends = '' setvar makedepends = '' setvar subpackages = ""$pkgname-dev"" setvar source = ""http://www.mr511.de/software/$pkgname-$pkgver.tar.gz"" setvar builddir = ""$srcdir/$pkgname-$pkgver"" proc prepare { cd $builddir default_prepare update_config_sub } proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --enable-shared \ --enable-gnu-names \ --enable-compat \ --disable-nls make } proc check { cd $builddir make check } proc package { cd $builddir make install prefix="$pkgdir"/usr } setvar sha512sums = ""d2a4ea8ccc0bbfecac38fa20fbd96aefa8e86f8af38691fb6991cd9c5a03f587475ecc2365fc89a4954c11a679d93460ee9a5890693112f6133719af3e6582fe libelf-0.8.13.tar.gz""