Initial packaging. Closes: #808072
Lev Lamberov
8 years ago
0 | mdp (1.0.3-1) unstable; urgency=low | |
1 | ||
2 | * Initial release (Closes: #nnnn) | |
3 | ||
4 | -- Lev Lamberov <dogsleg@debian.org> Mon, 14 Dec 2015 22:22:35 +0500 |
0 | 9 |
0 | Source: mdp | |
1 | Section: misc | |
2 | Priority: optional | |
3 | Maintainer: Lev Lamberov <dogsleg@debian.org> | |
4 | Build-Depends: debhelper (>= 9), libncursesw5-dev, libtinfo-dev | |
5 | Standards-Version: 3.9.6 | |
6 | Homepage: https://github.com/visit1985/mdp | |
7 | Vcs-Git: https://github.com/visit1985/mdp.git | |
8 | Vcs-Browser: https://github.com/visit1985/mdp | |
9 | ||
10 | Package: mdp | |
11 | Architecture: any | |
12 | Depends: ${shlibs:Depends}, ${misc:Depends}, libncursesw5 (>= 6) | |
13 | Description: command-line based markdown presentation tool | |
14 | 'mdp' is a command-line program that allows you to make elegant presentations | |
15 | from markdown formatted files. | |
16 | . | |
17 | It is as easy as write your presentation content in the text editor of your | |
18 | preference and launch the presentation from the command-line. |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: mdp | |
2 | Source: https://github.com/visit1985/mdp | |
3 | ||
4 | Files: * | |
5 | Copyright: 2015 Michael Goehler visit@what.what | |
6 | License: GPL-3+ | |
7 | ||
8 | Files: debian/* | |
9 | Copyright: 2015 Lev Lamberov <dogsleg@debian.org> | |
10 | License: GPL-3+ | |
11 | ||
12 | License: GPL-3+ | |
13 | Copyright (C) 1992, 1997, 1998, 1999, 2000, 2001, 2002, 2004, | |
14 | 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | |
15 | . | |
16 | This program is free software; you can redistribute it and/or modify | |
17 | it under the terms of the GNU General Public License as published by | |
18 | the Free Software Foundation; either version 3, or (at your option) | |
19 | any later version. | |
20 | . | |
21 | This program is distributed in the hope that it will be useful, | |
22 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
23 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
24 | GNU General Public License for more details. | |
25 | . | |
26 | You should have received a copy of the GNU General Public License | |
27 | along with this program; if not, write to the Free Software | |
28 | Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA | |
29 | 02110-1301, USA. | |
30 | . | |
31 | Comment: | |
32 | . | |
33 | On a Debian system you can find a copy of this license in | |
34 | /usr/share/common-licenses/GPL-3. |
0 | mdp_1.0.3-1_amd64.deb misc optional |
0 | Corrects PREFIX in upstream Makefile, so Debian package can be build. | |
1 | ||
2 | --- a/Makefile | |
3 | +++ b/Makefile | |
4 | @@ -24,7 +24,7 @@ SOURCES = $(wildcard src/*.c) | |
5 | OBJECTS = $(SOURCES:.c=.o) | |
6 | TARGET = mdp | |
7 | DESTDIR = | |
8 | -PREFIX = /usr/local | |
9 | +PREFIX ?= /usr/local | |
10 | ||
11 | CURSES = ncursesw | |
12 | LDFLAGS ?= -s | |
13 | -- | |
14 | 2.6.2 |
0 | 10-makefile_prefix.patch |
0 | #!/usr/bin/make -f | |
1 | # See debhelper(7) (uncomment to enable) | |
2 | # output every command that modifies files on the build system. | |
3 | export DH_VERBOSE = 1 | |
4 | ||
5 | export PREFIX=/usr | |
6 | ||
7 | # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* | |
8 | DPKG_EXPORT_BUILDFLAGS = 1 | |
9 | include /usr/share/dpkg/default.mk | |
10 | ||
11 | # see FEATURE AREAS in dpkg-buildflags(1) | |
12 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all | |
13 | ||
14 | # see ENVIRONMENT in dpkg-buildflags(1) | |
15 | # package maintainers to append CFLAGS | |
16 | #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic | |
17 | # package maintainers to append LDFLAGS | |
18 | #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed | |
19 | ||
20 | ||
21 | # main packaging script based on dh7 syntax | |
22 | %: | |
23 | dh $@ | |
24 | ||
25 | # dh_make generated override targets | |
26 | # This is example for Cmake (See https://bugs.debian.org/641051 ) | |
27 | #override_dh_auto_configure: | |
28 | # dh_auto_configure -- \ | |
29 | # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) |
0 | 3.0 (quilt) |