summaryrefslogtreecommitdiffstats
path: root/archive/cpio/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'archive/cpio/BUILD')
-rwxr-xr-xarchive/cpio/BUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/archive/cpio/BUILD b/archive/cpio/BUILD
new file mode 100755
index 0000000000..e91c77d39c
--- /dev/null
+++ b/archive/cpio/BUILD
@@ -0,0 +1,17 @@
+#
+# The mt-st package installs the mt manpage
+#
+sedit 's: mt.1::' doc/Makefile.am &&
+sedit 's: mt.1::' doc/Makefile.in &&
+
+ OPTS="$OPTS --build=${BUILD}"
+ [[ $CROSS_INSTALL == on ]] && OPTS="$OPTS --host=${HOST}"
+
+ ./configure --prefix=${TRACK_ROOT}/usr \
+ --sysconfdir=${TRACK_ROOT}/etc \
+ --localstatedir=${TRACK_ROOT}/var \
+ --mandir=${TRACK_ROOT}/usr/share/man \
+ --infodir=${TRACK_ROOT}/usr/share/info \
+ $OPTS &&
+ make DESTDIR=$INSTALL_ROOT
+