summaryrefslogtreecommitdiff
path: root/repo/libpaper/libpaper.xibuild
blob: 88d70d0e16a9fe29ce9f905f65c0e35051cbc67e (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
#!/bin/sh

NAME="libpaper"
DESC="Library for handling paper characteristics"

MAKEDEPS=" automake autoconf libtool"

PKG_VER=1.1.28
SOURCE="https://deb.debian.org/debian/pool/main/libp/libpaper/libpaper_$PKG_VER.tar.gz"

prepare() {
	cd "$BUILD_ROOT"
	autoreconf -fi
}

build() {
	cd "$BUILD_ROOT"
	./configure \
		--prefix=/usr \
		--disable-static \
		--mandir="$PKG_DEST"/usr/share/man
	make
}

package() {
	cd "$BUILD_ROOT"
	make prefix="$PKG_DEST"/usr install
}