aboutsummaryrefslogtreecommitdiff
path: root/xorg/libXpm/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-04-12 10:04:26 +0300
committerCem Keylan <cem@ckyln.com>2021-04-12 10:04:26 +0300
commit76c3186a5311d2418a99ef1576716685e2856f3f (patch)
tree4d70c33239b1937218ae4f7d66adc9ba21ea1d3f /xorg/libXpm/build
parent17c3a10d30b525e835e4c299b66427ac43f35fb3 (diff)
downloadrepository-76c3186a5311d2418a99ef1576716685e2856f3f.tar.gz
libXpm: add new package at 3.5.13
Diffstat (limited to 'xorg/libXpm/build')
-rwxr-xr-xxorg/libXpm/build13
1 files changed, 13 insertions, 0 deletions
diff --git a/xorg/libXpm/build b/xorg/libXpm/build
new file mode 100755
index 00000000..c5c4cbd1
--- /dev/null
+++ b/xorg/libXpm/build
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+# Patch out gettext dependency
+for dir in sxpm cxpm; do
+ sed 's/xgettext/true/g' "$dir/Makefile.in" > "$dir/m.bak"
+ mv "$dir/m.bak" "$dir/Makefile.in"
+done
+
+./configure \
+ --prefix=/usr
+
+make
+make DESTDIR="$1" install