Skip to content
Snippets Groups Projects
Commit 09480e32 authored by ale's avatar ale
Browse files

add Debian package metadata

parent 3cf5b6c2
No related branches found
No related tags found
No related merge requests found
liber
*.debhelper.log
*.substvars
files
liber (0.1) unstable; urgency=low
* Initial Release.
-- ale <ale@incal.net> Sun, 16 Nov 2014 09:10:34 +0000
8
Source: liber
Section: net
Priority: extra
Maintainer: ale <ale@incal.net>
Build-Depends: debhelper (>= 8.0.0), libicu-dev, libleveldb-dev (>=1.15)
Standards-Version: 3.9.4
Homepage: https://git.autistici.org/ale/liber
Package: liber
Architecture: any
Depends: libleveldb1 (>=1.15), ${shlibs:Depends}, ${misc:Depends}
Description: Ebook collection indexer.
Index and search an ebook collection.
Copyright (c) 2014 <ale@incal.net>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This has to be exported to make some magic below work.
export DH_OPTIONS
DEBDIR = $(CURDIR)/debian
PKGDIR = $(DEBDIR)/liber
%:
dh $@
override_dh_install:
# Build the sources using your locally-installed Go version.
# This is crazy, clearly, but it's a temporary workaround for wheezy.
install -m 755 -o root -g root -d $(PKGDIR)/usr/bin
install -m 755 -o root -g root -d $(PKGDIR)/usr/share/liber
go build -o $(PKGDIR)/usr/bin/liber cmd/liber/liber.go
(umask 022; cp -R --preserve=timestamps htdocs $(PKGDIR)/usr/share/liber/htdocs)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment