summaryrefslogtreecommitdiffstats
path: root/abs/core/dejagnu/dejagnu.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-07-21 05:53:11 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-07-21 05:53:11 (GMT)
commit3f2a2fad56d59f99f6e3cc22d9d151dedb3df682 (patch)
treed310b673d7039b1b098da8332e46bb2c63a04220 /abs/core/dejagnu/dejagnu.install
parent58247c4d69c5aa4ddfe9e29ee6bbcbaacf6fa825 (diff)
downloadlinhes_pkgbuild-3f2a2fad56d59f99f6e3cc22d9d151dedb3df682.zip
linhes_pkgbuild-3f2a2fad56d59f99f6e3cc22d9d151dedb3df682.tar.gz
linhes_pkgbuild-3f2a2fad56d59f99f6e3cc22d9d151dedb3df682.tar.bz2
dejagnu: Initial inclusion
Diffstat (limited to 'abs/core/dejagnu/dejagnu.install')
-rw-r--r--abs/core/dejagnu/dejagnu.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/core/dejagnu/dejagnu.install b/abs/core/dejagnu/dejagnu.install
new file mode 100644
index 0000000..0e3c430
--- /dev/null
+++ b/abs/core/dejagnu/dejagnu.install
@@ -0,0 +1,15 @@
+infodir=usr/share/info
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info $infodir/dejagnu.info.gz $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info --delete $infodir/dejagnu.info.gz $infodir/dir 2> /dev/null
+}