diff options
Diffstat (limited to 'repo/libpaper/libpaper.xibuild')
-rw-r--r-- | repo/libpaper/libpaper.xibuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/repo/libpaper/libpaper.xibuild b/repo/libpaper/libpaper.xibuild new file mode 100644 index 0000000..88d70d0 --- /dev/null +++ b/repo/libpaper/libpaper.xibuild @@ -0,0 +1,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 +} + |