Commit d9762aa6 authored by Eugenio Cano-Manuel's avatar Eugenio Cano-Manuel

Initial packaging

parent e24b2dc1
scout (0.1.0-1) unstable; urgency=low
* Initial release.
-- Eugenio Cano-Manuel Mendoza <eugeniocanom@gmail.com> Mon, 29 Apr 2013 18:20:53 +0200
Source: scout
Section: java
Priority: optional
Maintainer: Debian Clojure Maintainers <pkg-clojure-maintainers@lists.alioth.debian.org>
Uploaders:
Eugenio Cano-Manuel Mendoza <eugeniocanom@gmail.com>
Build-Depends:
debhelper (>= 8),
default-jdk,
javahelper (>= 0.43),
clojure1.4,
libtext-markdown-perl | markdown
Standards-Version: 3.9.3
Homepage: https://github.com/davidsantiago/scout
Vcs-Git: git://git.debian.org/git/pkg-clojure/scout.git
Package: libscout-clojure
Architecture: all
Depends: ${java:Depends}, ${misc:Depends}
Recommends: ${java:Recommends}
Description: Scan through strings in a functional way.
Scout is a library for scanning through strings in a functional way. There are
many parser libraries in Clojure, but Scout processes text without having to
fully parse it, either because the text format made that difficult, or it
would have been overkill for that particular task.
This diff is collapsed.
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>@TITLE@</title>
</head>
<body>
scout.jar src
usr/share/java/scout.jar /usr/share/java/clojure.jar
Document: scout
Title: Scout Introduction
Author: David Santiago
Abstract: An introduction to Scout
Section: Programming
Format: HTML
Index: /usr/share/doc/libscout-clojure/html/README.html
Files: /usr/share/doc/libscout-clojure/html/README.html
Format: Text
Index: /usr/share/doc/libscout-clojure/README.md
Files: /usr/share/doc/libscout-clojure/README.md
#!/usr/bin/make -f
include /usr/share/javahelper/java-vars.mk
export JAVA_HOME=/usr/lib/jvm/default-java
export CLASSPATH=/usr/share/java/clojure.jar
MDWN_DOCS = $(patsubst %.md,%.html,$(wildcard $(CURDIR)/*.md))
PRODUCED_JAR=scout.jar
%:
dh $@ --with javahelper
override_jh_build: $(MDWN_DOCS)
jar cf $(PRODUCED_JAR) -C src .
mkdir -p $(CURDIR)/doc/html && mv $(CURDIR)/*.html $(CURDIR)/doc/html
override_jh_clean:
jh_clean
rm -f $(CURDIR)/$(PRODUCED_JAR)
rm -rf $(CURDIR)/doc
%.html:%.md
cat debian/header.html > $@
sed -i'' -e 's/@TITLE@/$(shell head -n 1 $< | sed 's/^#*\s*//')/g' $@
markdown $< >> $@
cat debian/footer.html >> $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment