dev-tex/mathtex: Specify cache dir
authorKristian Fiskerstrand <kf@sumptuouscapital.com>
Sun, 15 Nov 2015 14:59:18 +0000 (15:59 +0100)
committerKristian Fiskerstrand <kf@sumptuouscapital.com>
Sun, 15 Nov 2015 14:59:18 +0000 (15:59 +0100)
dev-tex/mathtex/Manifest
dev-tex/mathtex/mathtex-1.05.ebuild

index 671822c..e820dbb 100644 (file)
@@ -1,2 +1,2 @@
 DIST mathtex-1.05.zip 162484 SHA256 ad10a66d64e3fb5928866a51d2e5e67b5d4d83d44ebd65b1de5e68f2bd444c2d SHA512 2be95b8c1b3f4ceff072f1c521257e6968d3dee973c1b0581937f54e2db7ca0bb149caff11878e736ba03d66d5d9052d5384e1f80007ceb4a516e6e89d38b7d7 WHIRLPOOL c4f980d9c0cdc834db766709710d5db6f82828414f5fed67ec9d1ef520b7ddeb7f890c368f42cf79275e7236e0beb919ec69c645f111bdc62c3017ff5247f60f
-EBUILD mathtex-1.05.ebuild 1085 SHA256 1a63d72c8a431dbd5c5a061a45ea9547f5016445702ba15c9da3b9d1ad4a10ea SHA512 548bb8b66add686a30011abc47ddd3c1373223efd3af9e4f38ffa1419ebb369111444729b092e3c4c8514c4b8b3b748991e42975ecb28e9c4504a755d1ab7cbe WHIRLPOOL 4cd947182e3df4190436eace36c541826e4e1efdde8b879ee75e03d60d9264571a2a2379c023bcf320d846c1d99770c15f52832d350e94c8ed7b79d40d8c7134
+EBUILD mathtex-1.05.ebuild 1175 SHA256 e99fc3ade01ad705a8b4bbd9b23f7db60497494ada198d1966eee5a17a916375 SHA512 79d6819df4520eb69035cba5bb8ae857459506ab41c68b0fde3d688c9ed07c449007ea0b6ae00df52546a8d1cc33d602365ad2ee3a15e49fd481ba62f9c8ab15 WHIRLPOOL 98a486282e7b7c00d2163a46623fb0717d951cfd552ad0284df673040c2de614855c8faf5509d9cc829ea9f0be3d642030d2d3cef4fb05d18c02c443b345db6e
index 8ce7e29..41e0fd0 100644 (file)
@@ -29,12 +29,15 @@ src_compile()
         $(tc-getCC) mathtex.c \
             -DLATEX=\"$(/usr/bin/which latex)\"   \
             -DDVIPNG=\"$(/usr/bin/which dvipng)\"   \
+            -DCACHE="/var/lib/mathtex" \
             $(use png && echo "-DPNG") \
             -o mathtex.cgi || die
 }
 
 src_install()
 {
+       dodir /var/lib/${PN}
+       fperms 755 /var/lib/${PN}
        dodoc README
        exeinto /usr/libexec/${PN}
        doexe ${PN}.cgi