summaryrefslogtreecommitdiff
path: root/repo/system/libpng.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/libpng.xibuild')
-rw-r--r--repo/system/libpng.xibuild20
1 files changed, 20 insertions, 0 deletions
diff --git a/repo/system/libpng.xibuild b/repo/system/libpng.xibuild
new file mode 100644
index 0000000..e434a5a
--- /dev/null
+++ b/repo/system/libpng.xibuild
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+DEPS=()
+
+PKG_VER=1.6.37
+SOURCE=https://downloads.sourceforge.net/libpng/libpng-$PKG_VER.tar.xz
+DESC="A collection of routines used to create PNG images"
+
+
+build () {
+ ./configure --prefix=/usr --disable-static &&
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+ mkdir -v /usr/share/doc/libpng-$PKG_VER &&
+ cp -v README libpng-manual.txt /usr/share/doc/libpng-$PKG_VER
+
+}