summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sandall2008-02-09 11:26:04 -0800
committerEric Sandall2008-02-09 11:26:04 -0800
commitfe84844111926072fe85f6caa5424a794389ebae (patch)
tree3375d05574f014d7cc8a399a0aba5fe51e041d2d
parent0cdc93194e4b89ff58e7630c7d7bff64048c5e6f (diff)
Revert "mktemp: deprecated in favour of coreutils [Bug 14271]"
This reverts commit 2212b72766c9d97f212e3a90ccf2927c9a6678e2. Reverting coreutils update for this release cycle.
-rwxr-xr-xutils/mktemp/BUILD15
-rwxr-xr-xutils/mktemp/DEPENDS2
-rwxr-xr-xutils/mktemp/DETAILS10
-rw-r--r--utils/mktemp/HISTORY3
-rwxr-xr-xutils/mktemp/INSTALL2
-rwxr-xr-xutils/mktemp/PRE_BUILD1
-rwxr-xr-xutils/mktemp/TRIGGERS1
7 files changed, 22 insertions, 12 deletions
diff --git a/utils/mktemp/BUILD b/utils/mktemp/BUILD
index 27ba77ddaf..9cb78cea87 100755
--- a/utils/mktemp/BUILD
+++ b/utils/mktemp/BUILD
@@ -1 +1,14 @@
-true
+export CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" &&
+
+ 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 &&
+ sedit "s:^mandir = .*:mandir = \${prefix}/usr/share/man:" Makefile
+ make
+
diff --git a/utils/mktemp/DEPENDS b/utils/mktemp/DEPENDS
new file mode 100755
index 0000000000..18594eb242
--- /dev/null
+++ b/utils/mktemp/DEPENDS
@@ -0,0 +1,2 @@
+depends gnupg &&
+depends smgl-fhs
diff --git a/utils/mktemp/DETAILS b/utils/mktemp/DETAILS
index 35912dae1a..f66d8cbae3 100755
--- a/utils/mktemp/DETAILS
+++ b/utils/mktemp/DETAILS
@@ -1,11 +1,11 @@
SPELL=mktemp
VERSION=1.5
-# SOURCE=$SPELL-$VERSION.tar.gz
-# SOURCE_HASH=sha512:f013adc685efddc343f6e63aee153f10b4c9a7dc78251e801930a5e8b670d4a4c87d6a06ef9f62678e0a7d1c19fe3e7b2514f64fc4abfd74767a2453d3c69082
+ SOURCE=$SPELL-$VERSION.tar.gz
+ SOURCE_HASH=sha512:f013adc685efddc343f6e63aee153f10b4c9a7dc78251e801930a5e8b670d4a4c87d6a06ef9f62678e0a7d1c19fe3e7b2514f64fc4abfd74767a2453d3c69082
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
-# SOURCE_URL[0]=ftp://ftp.mktemp.org/pub/mktemp/$SOURCE
-# SOURCE_URL[0]=ftp://ftp.courtesan.com/pub/mktemp/$SOURCE
-# SOURCE_URL[0]=http://www.courtesan.com/mktemp/dist/$SOURCE
+ SOURCE_URL[0]=ftp://ftp.mktemp.org/pub/mktemp/$SOURCE
+ SOURCE_URL[0]=ftp://ftp.courtesan.com/pub/mktemp/$SOURCE
+ SOURCE_URL[0]=http://www.courtesan.com/mktemp/dist/$SOURCE
WEB_SITE=http://www.mktemp.org/
ENTERED=20020214
LICENSE=BSD
diff --git a/utils/mktemp/HISTORY b/utils/mktemp/HISTORY
index 1bea64d09d..be5295760c 100644
--- a/utils/mktemp/HISTORY
+++ b/utils/mktemp/HISTORY
@@ -1,6 +1,3 @@
-2008-02-03 Ladislav Hagara <hgr@vabo.cz>
- * *: Deprecated in favour of coreutils [Bug 14271]
-
2006-10-03 Juuso Alasuutari <iuso@sourcemage.org>
* DETAILS: [automated] Removed UPDATED.
diff --git a/utils/mktemp/INSTALL b/utils/mktemp/INSTALL
index 27ba77ddaf..6db2ac4f5f 100755
--- a/utils/mktemp/INSTALL
+++ b/utils/mktemp/INSTALL
@@ -1 +1 @@
-true
+make install prefix=$INSTALL_ROOT
diff --git a/utils/mktemp/PRE_BUILD b/utils/mktemp/PRE_BUILD
deleted file mode 100755
index 27ba77ddaf..0000000000
--- a/utils/mktemp/PRE_BUILD
+++ /dev/null
@@ -1 +0,0 @@
-true
diff --git a/utils/mktemp/TRIGGERS b/utils/mktemp/TRIGGERS
deleted file mode 100755
index 043c89cb66..0000000000
--- a/utils/mktemp/TRIGGERS
+++ /dev/null
@@ -1 +0,0 @@
-on_cast mktemp dispel_self