add Added Files:
[hdw-repos/packages.git] / demian / xv / xv
diff --git a/demian/xv/xv b/demian/xv/xv
new file mode 100755 (executable)
index 0000000..b4b2d3a
--- /dev/null
@@ -0,0 +1,26 @@
+# HDW Linux xv
+#
+# [M] Jonathan J. Vargas demian@hackdaworld.dyndns.org
+# [I] A simple X image viewer, which allows also take snapshots.
+# [V] 3.10a
+# [S] 3 9
+# [D] xv-3.10a.tar.gz ftp://ftp.cis.upenn.edu/pub/xv/
+
+pre_install()
+{
+    # xv complains about those headers. 
+    # other way to do it easier? -I ?
+    
+    ln -sf /usr/X11/include/X11 /usr/include
+}
+
+build_main()
+{
+    make $make_conf ; make $install_conf install ;
+}
+
+post_install()
+{
+    # it doesnt nag, should i leave it there ?
+    rm /usr/include/X11
+}