You are not logged in.

#1 2004-04-01 09:38:41

tehdely
Member
Registered: 2004-02-20
Posts: 148
Website

elfutils and prelink

First up, we have the wonderful elfutils.

Elfutils deprecates libelf, as it's included ( a newer version, too ).  I'll mail the maintainer soon.  It also includes several utilities for dealing with elf files, and a bunch of nifty headers and libraries which rpm just happens to depend on.

Filename:
elfutils.tar.gz
Contents:
PKGBUILD
elfutils-0.94-1.pkg.tar.gz
filelist
PKGBUILD:

# Contributor: Michael Baehr <usemike@spamblocked.com>
# Adapted from the gentoo ebuild available at:
# any-gentoo-mirror/dev-libs/elfutils/elfutils-0.94-r1.ebuild

pkgname=elfutils
pkgver=0.94
pkgrel=1
pkgdesc="Utilities and libraries for manipulating and using ELF and other binary formats"
source=(http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles//$pkgname-$pkgver.tar.gz)
md5sums=('de39e0af6b82b30d48e5d69b75aa2e0b')
url="http://www.redhat.com"
# this is one of those packages where there seems to be no main page for it
# and just a lot of RPMs... thanks gentoo :)
depends=(glibc)
replaces=(libelf)
build() {
   cd $startdir/src/$pkgname-$pkgver
   ./configure --prefix=/usr --enable-shared --program-prefix="eu-"
   make || return 1
   make prefix=$startdir/pkg/usr install
   rm -rf $startdir/pkg/var
}

Then, we have prelink.  Prelink's already in Pacman, I just adjusted the dependency to depend on elfutils instead of libelf.
Filename:
prelink.tar.gz
Contents:
PKGBUILD
filelist
prelink-20021002-2.pkg.tar.gz
PKGBUILD:

# $Id: PKGBUILD,v 1.3 2003/11/06 08:27:17 dorphell Exp $
# Maintainer:
# Contributor: Rouslan Solomakhin <rouslan@localnet.com>
#
pkgname=prelink
pkgver=20021002
pkgrel=2
pkgdesc="ELF prelinking utility to speed up dynamic linking."
depends=(elfutils)
conflicts=()
backup=()
install=
source=(ftp://people.redhat.com/jakub/prelink/$pkgname-$pkgver.tar.bz2)
url="ftp://people.redhat.com/jakub/prelink/"
build() {
  cd $startdir/src/$pkgname
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

[Arch GNUstep Repository] [ PKGBUILDS ]
[code][gnustep]
Server = ftp://blkwidow.lerp.com/pub/mirror/arch/gnustep[/code]

Offline

#2 2004-04-01 09:47:30

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,750

Re: elfutils and prelink

Any Chance of a emerge PKGBUILD  lol

Keep up the good work

Mr Green


Mr Green

Offline

Board footer

Powered by FluxBB