summaryrefslogtreecommitdiff
path: root/repo/libpaper
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-03 13:05:13 +0100
committerdavidovski <david@davidovski.xyz>2022-06-03 13:05:13 +0100
commit66c326b6d65388e9f1003715ad9675505f01f9d2 (patch)
tree40d7355cccfa3464902cf339a563e744c28a7101 /repo/libpaper
parentfccdaa986f67f820df2914bef851d5fed77abac8 (diff)
added porting from alpine linux
Diffstat (limited to 'repo/libpaper')
-rw-r--r--repo/libpaper/libpaper.xibuild29
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
+}
+