summaryrefslogtreecommitdiffstats
path: root/abs/extra/dejagnu/dejagnu.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-07-21 06:33:33 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-07-21 06:33:33 (GMT)
commit0441abcabc15e9cdea4d66ecb30ea8d8026e9083 (patch)
treec9024381a7824c5eac64785c348d275c07b564c4 /abs/extra/dejagnu/dejagnu.install
parent09ec7e57ac7f9907122de23be187b1f05d19a18f (diff)
downloadlinhes_pkgbuild-0441abcabc15e9cdea4d66ecb30ea8d8026e9083.zip
linhes_pkgbuild-0441abcabc15e9cdea4d66ecb30ea8d8026e9083.tar.gz
linhes_pkgbuild-0441abcabc15e9cdea4d66ecb30ea8d8026e9083.tar.bz2
dejagnu: Move to extra
Diffstat (limited to 'abs/extra/dejagnu/dejagnu.install')
-rw-r--r--abs/extra/dejagnu/dejagnu.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/extra/dejagnu/dejagnu.install b/abs/extra/dejagnu/dejagnu.install
new file mode 100644
index 0000000..0e3c430
--- /dev/null
+++ b/abs/extra/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
+}