Added libelf-0.8.13 build template.

This commit is contained in:
Juan RP 2010-05-10 12:50:57 +02:00
parent caf9d4ac62
commit 8620b39842
5 changed files with 40 additions and 0 deletions

1
srcpkgs/libelf-devel Symbolic link
View file

@ -0,0 +1 @@
libelf

2
srcpkgs/libelf/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=0.8.13"
api_depends="${abi_depends}"

View file

@ -0,0 +1,17 @@
# Template file for 'libelf-devel'.
#
short_desc="${sourcepkg} - development files"
long_desc="${long_desc}
This package contains files for development: headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run libelf
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
}

19
srcpkgs/libelf/template Normal file
View file

@ -0,0 +1,19 @@
# Template build file for 'libelf'
pkgname=libelf
version=0.8.13
distfiles="http://www.mr511.de/software/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-gnu-names --enable-compat --enable-shared"
make_install_target="prefix=$XBPS_DESTDIR/$pkgname-$version/usr install"
short_desc="ELF object file access library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d
long_desc="
The elf library provides routines to access, and manipulate, Elf object files.
It is still not complete, but is required for a number of programs, such as
Eli (a state of the art compiler generation system), and Elk (the Extension
Language Kit - an implementation of the Scheme programming language.)"
base_chroot=yes
subpackages="$pkgname-devel"
Add_dependency run glibc

View file

@ -643,3 +643,4 @@ libopenmpi_malloc.so openmpi openmpi-devel
libopen-pal.so openmpi openmpi-devel libopen-pal.so openmpi openmpi-devel
libopen-rte.so openmpi openmpi-devel libopen-rte.so openmpi openmpi-devel
libmtp.so libmtp libmtp-devel libmtp.so libmtp libmtp-devel
libelf.so libelf libelf-devel