Codebase list bsdowl / 72d1341
Merge tag 'v3.0.0-20150314' into debian v3.0.0-20150314 Michael Grünewald 9 years ago
10 changed file(s) with 95 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
0 language: c
1 script: sh -ex ./Library/Ancillary/travisci main
2 before_script: sudo sh -ex ./Library/Ancillary/travisci before
0 #!/bin/sh
1
2 ### travis-tool -- Continuous integration test for travis
3
4 # BSD Owl Scripts (https://github.com/michipili/bsdowl)
5 # This file is part of BSD Owl Scripts
6 #
7 # Copyright © 2015 Michael Grünewald
8 #
9 # This file must be used under the terms of the CeCILL-B.
10 # This source file is licensed as described in the file COPYING, which
11 # you should have received as part of this distribution. The terms
12 # are also available at
13 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt
14
15 depends='graphicsmagick gawk m4 ocaml texlive-latex-base'
16 recommends='gnupg graphicsmagick noweb texlive-font-utils texlive-lang-french'
17 extras='ocaml ocaml-native-compilers camlp4-extra opam'
18 opam='depext ocamlfind'
19
20 repo_src="deb-src http://ftp.debian.org/debian/ unstable main"
21 repo_extras="deb mirror://mirrors.ubuntu.com/mirrors.txt trusty main restricted universe"
22 repo_ocaml="avsm/ocaml42+opam12"
23
24 set -a
25 OPAMYES=1
26 set +a
27
28
29 action_before()
30 {
31 echo "${repo_src}" >> /etc/apt/sources.list
32 add-apt-repository "${repo_extras}"
33 add-apt-repository --yes "ppa:${repo_ocaml}"
34 apt-get -qq update
35 apt-get -qq install apt-src
36 apt-get -qq install ${depends} ${recommends} ${extras}
37 apt-src -bi install bmake
38 }
39
40 action_main()
41 {
42 opam init -a git://github.com/ocaml/opam-repository
43 eval $(opam config env)
44 opam install ${opam}
45
46 autoconf
47 ./configure\
48 --with-gpg\
49 --with-gm\
50 --with-tex\
51 --with-ocaml\
52 --with-noweb\
53 --with-credentials=sudo\
54 --enable-test-findlib\
55 --disable-test-noweb\
56 --disable-test-gpg\
57 --disable-test-texmf
58
59 bmake build
60 bmake test
61 bmake install
62 }
63
64 action_usage()
65 {
66 1>&2 echo "Failure: $1: action not supported."
67 exit 1
68 }
69
70 case $1 in
71 before|main) action_$1;;
72 *) action_usage $1;;
73 esac
74
75 ### End of file `travis-tool'
1212 # you should have received as part of this distribution. The terms
1313 # are also available at
1414 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt
15
16 PROJECT= bsdowl
17 OFFICER= michipili@gmail.com
18 VERSION= 3.0.0-20150314
1519
1620 SUBDIR+= bps
1721 SUBDIR+= ocaml
1212 # you should have received as part of this distribution. The terms
1313 # are also available at
1414 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt
15
16 PROJECT= bsdowl
17 OFFICER= michipili@gmail.com
18 VERSION= @version@
1915
2016 prefix?= @prefix@
2117 exec_prefix?= @exec_prefix@
0 [![Build Status](https://travis-ci.org/michipili/bsdowl.svg)](https://travis-ci.org/michipili/bsdowl)
1
02 # BSD Owl Scripts
13
24 This collection of BSD Make directives aims at providing a highly
2727
2828 # Variables:
2929 #
30 # _BPS_VERSION [@version@]
30 # _BPS_VERSION [@VERSION@]
3131 # The installed version of BPS.
3232 #
3333 #
158158 .if !target(__<bps.bpsconfig.mk>__)
159159 __<bps.bpsconfig.mk>__:
160160
161 _BPS_VERSION= @version@
161 _BPS_VERSION= @VERSION@
162162
163163 _BPS_PREFIX?= @prefix@
164164 _BPS_EXEC_PREFIX?= @exec_prefix@
00 dnl Process this file with autoconf to produce a configure script.
11 AC_INIT(bps/Makefile)
2 AC_SUBST([version], [3.0.0-20150213])
32 AC_CONFIG_AUX_DIR([Library/Autoconf])
43 AC_CANONICAL_HOST
54 AC_NEED_BSDMAKE()
0 bsdowl (3.0.0-20140213-1) UNRELEASED; urgency=medium
0 bsdowl (3.0.0-20150314-1) UNRELEASED; urgency=medium
11
22 * Update package to 3.0.0-20141203.
33 * Update package to 3.0.0-20141228.
44 * Update package to 3.0.0-20140228, which should have been
55 3.0.0-20150228.
6 * Update package to 3.0.0-20150314.
67
7 -- Michael Grünewald <michipili@gmail.com> Fri, 20 Mar 2015 16:03:23 +0100
8 -- Michael Grünewald <michipili@gmail.com> Fri, 20 Mar 2015 16:10:41 +0100
89
910 bsdowl (2.2.2-1) unstable; urgency=medium
1011
6868 OCAMLDEPFLAGS+= -I ${.OBJDIR}
6969 .endif
7070
71 .if undefined(_OCAMLDEP_FILTER_SCRIPT)||empty(_OCAMLDEP_FILTER_SCRIPT)
72 _OCAMLDEP_FILTER= cat
73 .else
7174 _OCAMLDEP_FILTER= sh -c '${SED} ${_OCAMLDEP_FILTER_SCRIPT}'\
7275 -- OCAMLDEP_FILTER
76 .endif
7377
7478 .for thg in ${_OCAML_SRCS}
7579 .for item in ${${thg}}
1515
1616 let project = "bsdowl"
1717 let officer = "michipili@gmail.com"
18 let version = "@version@"
18 let version = "@VERSION@"
1919 let prefix = "@prefix@"
2020 let exec_prefix = "@exec_prefix@"
2121 let bindir = "@bindir@"