summaryrefslogtreecommitdiff
path: root/repo/chrpath/chrpath.xibuild
blob: 591292ba2b46098c11809cb4a7845fd46aaab041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh

NAME="chrpath"
DESC="Modify rpath of compiled programs"

MAKEDEPS=""

PKG_VER=0.16
SOURCE="https://alioth-archive.debian.org/releases/chrpath/chrpath/$PKG_VER/chrpath-$PKG_VER.tar.gz"

build() {
	cd "$BUILD_ROOT"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	cd "$BUILD_ROOT"
	make check
}

package() {
	cd "$BUILD_ROOT"
	make DESTDIR="$PKG_DEST" docdir=/usr/share/doc/chrpath-$PKG_VER \
		install
}