Files
haikuports/app-admin/chrpath/chrpath-0.16.recipe
2023-11-01 19:51:49 +01:00

56 lines
1.1 KiB
Bash

SUMMARY="Modifies the dynamic library load path"
DESCRIPTION="'chrpath' allows you to modify the dynamic library load path (rpath and runpath) of \
compiled programs and libraries."
HOMEPAGE="https://directory.fsf.org/wiki/Chrpath"
COPYRIGHT="2001-2014 Petter Reinholdtsen"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://alioth-archive.debian.org/releases/chrpath/chrpath/$portVersion/chrpath-$portVersion.tar.gz"
CHECKSUM_SHA256="bb0d4c54bac2990e1bdf8132f2c9477ae752859d523e141e72b3b11a12c26e7b"
PATCHES="chrpath-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandBinDir=$prefix/bin
fi
PROVIDES="
chrpath$secondaryArchSuffix = $portVersion
cmd:chrpath = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:autoconf
cmd:make
cmd:gcc$secondaryArchSuffix
"
BUILD()
{
autoconf
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir
make $jobArgs
}
INSTALL()
{
make install
rm -rf $prefix/doc
}
TEST()
{
make check
}