Add proper rpath info

This commit is contained in:
Tom G. Christensen 2005-05-13 07:24:40 +00:00 committed by tgc
parent 1ea610548b
commit fdb11cdfc4

View File

@ -9,7 +9,7 @@
# Check the following 4 variables before running the script # Check the following 4 variables before running the script
topdir=wget topdir=wget
version=1.9.1 version=1.9.1
pkgver=1 pkgver=2
source[0]=$topdir-$version.tar.gz source[0]=$topdir-$version.tar.gz
# If there are no patches, simply comment this # If there are no patches, simply comment this
#patch[0]= #patch[0]=
@ -17,6 +17,11 @@ source[0]=$topdir-$version.tar.gz
# Source function library # Source function library
. ${HOME}/buildpkg/scripts/buildpkg.functions . ${HOME}/buildpkg/scripts/buildpkg.functions
# Global options
export LDFLAGS="-L/usr/local/lib -R/usr/local/lib"
export CPPFLAGS="-I/usr/local/include"
configure_args="--prefix=$prefix --disable-nls --enable-static=no --with-ssl"
# Define script functions and register them # Define script functions and register them
METHODS="" METHODS=""
reg() { reg() {
@ -32,10 +37,7 @@ prep()
reg build reg build
build() build()
{ {
export LDFLAGS="-L/usr/local/lib -R/usr/local/lib" generic_build
setdir source
./configure --prefix=$prefix --disable-nls --enable-static=no --with-ssl
$MAKE_PROG
} }
reg install reg install