mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
39 lines
883 B
Plaintext
39 lines
883 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=chrpath
|
|
pkgver=0.16
|
|
pkgrel=1
|
|
pkgdesc="Modify rpath of compiled programs"
|
|
url="https://alioth.debian.org/projects/chrpath/"
|
|
arch="all"
|
|
license="GPL+"
|
|
subpackages="$pkgname-doc"
|
|
source="https://alioth.debian.org/frs/download.php/latestfile/813/chrpath-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" docdir=/usr/share/doc/$pkgname-$pkgver \
|
|
install
|
|
}
|
|
|
|
sha512sums="aa04d490f78bff20a56fe20539cec10218c0772a668909eda8324ca825f51e8ef92001e95d9c316e79a145a043c9c327ec94d1a82e104ab408ca1021832745aa chrpath-0.16.tar.gz"
|