small fix0rs
authorSeemant Kulleen <seemant@gentoo.org>
Fri, 8 Nov 2002 21:49:31 +0000 (21:49 +0000)
committerSeemant Kulleen <seemant@gentoo.org>
Fri, 8 Nov 2002 21:49:31 +0000 (21:49 +0000)
app-text/latex2html/latex2html-2002.1.ebuild

index a836e56b94dcd2f480de702410bd760133b49839..a4b2334cd79a05ad1e2e0cd8f4ee426294f00940 100644 (file)
@@ -32,8 +32,9 @@ src_compile() {
        use gif && myconf="${myconf} --enable-gif"
        use png && myconf="${myconf} --enable-png"
 
+       use gif || use png || myconf="${myconf} --disable-images"
+
        myconf="${myconf} \
-       --prefix=/usr \
        --libdir=/usr/lib/latex2html \
        --shlibdir=/usr/lib/latex2html \
        --enable-pk \
@@ -64,6 +65,11 @@ src_install () {
        cp cfgcache.pm.bak ${D}/usr/lib/latex2html/cfgcache.pm
 
        dodoc BUGS Changes FAQ INSTALL LICENSE MANIFEST README TODO
+
+       # make /usr/share/latex2html sticky
+       touch .keep
+       insinto /usr/share/latex2html
+       doins .keep
 }
 
 pkg_postinst() {