Projects
Kolab:Winterfell
erlang-cf
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
debian.changelog
Added
@@ -0,0 +1,5 @@ +erlang-cf (0.2.2-1) unstable; urgency=medium + + * Initial release. + + -- Christoph Erhardt <kolab@sicherha.de> Mon, 05 Jun 2017 10:24:38 +0200
View file
debian.control
Added
@@ -0,0 +1,16 @@ +Source: erlang-cf +Section: devel +Priority: extra +Maintainer: Christoph Erhardt <kolab@sicherha.de> +Standards-Version: 3.9.6 +Build-Depends: debhelper (>= 9), erlang, rebar +Homepage: https://github.com/project-fifo/cf + +Package: erlang-cf +Architecture: any +Section: devel +Depends: ${misc:Depends}, + erlang-base | erlang-base-hipe +Description: Colored output for Erlang/OTP io and io_lib + cf is a helper library for termial colour printing extending the Erlang/OTP + io:format syntax to add colours.
View file
debian.rules
Added
@@ -0,0 +1,34 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/pkg-info.mk + +DESTDIR = $(CURDIR)/debian/$(DEB_SOURCE) +LIBDIR = $(DESTDIR)/usr/lib/erlang/lib/cf-$(DEB_VERSION_UPSTREAM) +DOCDIR = $(DESTDIR)/usr/share/doc/$(DEB_SOURCE) + +%: + dh $@ + +override_dh_auto_configure: + sed -i -e "/^%%/s/\`/'/g" -e '/^%%/s/</\</g' -e '/^%%/s/>/\>/g' \ + src/cf.erl + +override_dh_auto_build: + erl -noshell -eval '{ok, L} = file:consult("rebar.config"), file:write_file("cf.rebar.config", lists:map(fun(E) -> io_lib:format("~p.~n", [E]) end, [{erl_opts, [slim, inline, no_debug_info|proplists:delete(debug_info, proplists:get_value(erl_opts, L, []))]}, {edoc_opts, [{preprocess, true}|proplists:get_value(edoc_opts, L, [])]} |lists:foldl(fun proplists:delete/2, L, [deps, edoc_opts, erl_opts])])), halt().' + rebar -C cf.rebar.config compile -v + rebar -C cf.rebar.config doc -v + +override_dh_auto_install: + install -d -m 0755 $(LIBDIR)/ebin + install -p -m 0644 ebin/* $(LIBDIR)/ebin/ + install -d -m 0755 $(LIBDIR)/doc + install -p -m 0644 doc/*.css $(LIBDIR)/doc/ + install -p -m 0644 doc/*.html $(LIBDIR)/doc/ + install -p -m 0644 doc/*.png $(LIBDIR)/doc/ + +override_dh_installdocs: + dh_installdocs + install -d -m 0755 $(DOCDIR) + ln -sf ../../lib/erlang/lib/cf-$(DEB_VERSION_UPSTREAM)/doc \ + $(DOCDIR)/html + install -p -m 0644 *.md $(DOCDIR)/
View file
debian.tar.gz
Added
View file
erlang-cf.dsc
Added
@@ -0,0 +1,14 @@ +Format: 1.0 +Source: erlang-cf +Binary: erlang-cf +Architecture: any +Version: 0.2.2-1 +Maintainer: Christoph Erhardt <kolab@sicherha.de> +Homepage: https://github.com/project-fifo/cf +Standards-Version: 3.9.6 +Build-Depends: debhelper (>= 9), erlang, rebar +Package-List: + erlang-cf deb devel extra +Files: + 00000000000000000000000000000000 0 cf-0.2.2.tar.gz + 00000000000000000000000000000000 0 debian.tar.gz
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.