Last active
August 29, 2015 14:00
-
-
Save infinity0/07959acb919556ef81cc to your computer and use it in GitHub Desktop.
Stub debian packaging for ctlog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Source: ctlog | |
Section: unknown | |
Priority: extra | |
Maintainer: Ximin Luo <[email protected]> | |
Build-Depends: debhelper (>= 9.0.0), javahelper, | |
# C++ | |
cmake, | |
libboost-dev, | |
libcppnetlib-dev (>= 0.10.1), | |
libcurl4-openssl-dev, | |
libcurlpp-dev, | |
libgflags-dev (>= 2.0), | |
libgoogle-glog-dev (>= 0.3.1), | |
libgtest-dev (>= 1.6.0), | |
libjson0-dev (>= 0.10) | libjson-c-dev (>= 0.11), | |
libprotobuf-dev (>= 2.4.1), | |
libsqlite3-dev, | |
libssl-dev (>= 1.0.0), | |
openssl (>= 1.0.0), | |
protobuf-compiler (>= 2.4.1), | |
# Java | |
junit4 (>= 4.11), | |
libcommons-codec-java (>= 1.8), | |
libcommons-logging-java (>= 1.1.3), | |
libguava-java (>= 14), | |
libhamcrest-java (>= 1.3), | |
libhttpclient-java (>= 4.2.5), | |
libhttpcore-java (>= 4.2.4), | |
libjson-simple-java (>= 1.1), | |
libmockito-java (>= 1.9.5), | |
libprotobuf-java (>= 2.4.1), | |
libbcpkix-java (>= 1.49), | |
libbcprov-java (>= 1.49), | |
# Python | |
python-ecdsa, | |
python-gflags, | |
python-mock, | |
python-protobuf, | |
python-pyasn1 (>= 0.1.4), | |
python-pyasn1-modules, | |
python-requests (>= 1.0) | |
Standards-Version: 3.9.4 | |
Homepage: http://www.certificate-transparency.org/ | |
#Vcs-Git: git://git.debian.org/collab-maint/ctlog.git | |
#Vcs-Browser: http://git.debian.org/?p=collab-maint/ctlog.git;a=summary | |
Package: ctlog | |
Architecture: any | |
Depends: ${shlibs:Depends}, ${misc:Depends} | |
Description: <insert up to 60 chars description> | |
<insert long description, indented with spaces> | |
Package: libctlog-client-java | |
Architecture: all | |
Depends: ${shlibs:Depends}, ${misc:Depends} | |
Description: <insert up to 60 chars description> | |
<insert long description, indented with spaces> | |
Package: python-ctlog-client | |
Architecture: all | |
Description: documentation for ctlog | |
<insert long description, indented with spaces> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# overrides that are specific to your machine should go in local.properties | |
# do not check that file into version-control. | |
jarsdir = /usr/share/java/ | |
jars.commons-codec = ${jarsdir}/commons-codec.jar | |
jars.commons-logging = ${jarsdir}/commons-logging.jar | |
jars.guava = ${jarsdir}/guava.jar | |
jars.hamcrest = ${jarsdir}/hamcrest-core.jar | |
jars.httpclient = ${jarsdir}/httpclient.jar | |
jars.httpcore = ${jarsdir}/httpcore.jar | |
jars.json-simple = ${jarsdir}/json_simple.jar | |
jars.junit = ${jarsdir}/junit4.jar | |
jars.mockito = ${jarsdir}/mockito-core.jar | |
jars.protobuf = ${jarsdir}/protobuf.jar | |
jars.bouncycastleprovider = ${jarsdir}/bcprov-1.49.jar | |
jars.bouncycastlepkix = ${jarsdir}/bcpkix-1.49.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/make -f | |
# This has to be exported to make some magic below work. | |
export DH_OPTIONS | |
%: | |
dh $@ | |
ANT = ant -propertyfile $(CURDIR)/debian/local.properties | |
override_dh_auto_build: | |
dh_auto_build -S makefile -D src | |
#dh_auto_build -S ant -D src | |
cd src && $(ANT) release | |
dh_auto_build -S makefile -D src/python | |
override_dh_auto_test: | |
dh_auto_test -S makefile -D src | |
#dh_auto_test -S ant -D src | |
cd src && $(ANT) test | |
dh_auto_test -S makefile -D src/python | |
override_dh_auto_install: | |
dh_auto_install -S makefile -D src | |
#dh_auto_install -S ant -D src | |
dh_auto_install -S makefile -D src/python | |
override_dh_auto_clean: | |
dh_auto_clean -S makefile -D src | |
dh_auto_clean -S ant -D src | |
dh_auto_clean -S makefile -D src/python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment