mirror of
https://github.com/lexborisov/Modest
synced 2024-11-21 21:31:25 +03:00
Merge pull request #39 from mody/debianize
An attempt to Debian packaging
This commit is contained in:
commit
9af0440556
23
.gitignore
vendored
23
.gitignore
vendored
@ -4,3 +4,26 @@
|
|||||||
*~
|
*~
|
||||||
modest.pc
|
modest.pc
|
||||||
uninstal.mk
|
uninstal.mk
|
||||||
|
debian/.debhelper/
|
||||||
|
debian/debhelper-build-stamp
|
||||||
|
debian/files
|
||||||
|
debian/libmodest-dev.debhelper.log
|
||||||
|
debian/libmodest-dev.substvars
|
||||||
|
debian/libmodest-dev/
|
||||||
|
debian/libmodest.debhelper.log
|
||||||
|
debian/libmodest.substvars
|
||||||
|
debian/libmodest/
|
||||||
|
debian/tmp/
|
||||||
|
examples/myhtml/attributes_high_level
|
||||||
|
examples/myhtml/fragment_high_level
|
||||||
|
examples/myhtml/get_title_low_level
|
||||||
|
examples/myhtml/insert_in_appropriate_place_high_level
|
||||||
|
examples/myhtml/parse_without_whitespace
|
||||||
|
examples/myhtml/string_manipulate_high_level
|
||||||
|
lib/
|
||||||
|
test/mycore/utils/avl_tree
|
||||||
|
test/mycss/declaration
|
||||||
|
test/myencoding/encoding_detect_meta
|
||||||
|
test/myhtml/commoncrawl
|
||||||
|
test/myurl/url
|
||||||
|
test_suite/
|
||||||
|
18
Makefile
18
Makefile
@ -112,14 +112,16 @@ BUILD_SUB_DIRS := examples $(TEST_DIR)
|
|||||||
PROJECT_INSTALL_LIBRARY := lib
|
PROJECT_INSTALL_LIBRARY := lib
|
||||||
PROJECT_INSTALL_HEADER := include
|
PROJECT_INSTALL_HEADER := include
|
||||||
|
|
||||||
libdir ?= $(prefix)/$(PROJECT_INSTALL_LIBRARY)
|
libdir ?= $(DESTDIR)$(prefix)/$(PROJECT_INSTALL_LIBRARY)
|
||||||
includedir ?= $(prefix)/$(PROJECT_INSTALL_HEADER)
|
includedir ?= $(DESTDIR)$(prefix)/$(PROJECT_INSTALL_HEADER)
|
||||||
|
|
||||||
MODEST_INSTALL_CREATE_DIR := mkdir -p $(prefix)/$(PROJECT_INSTALL_LIBRARY)
|
|
||||||
MODEST_INSTALL_COMMAND := $(MODEST_INSTALL_CREATE_DIR) $(MODEST_UTILS_NEW_LINE) cp -av $(LIB_DIR_BASE)/* $(libdir)
|
|
||||||
|
|
||||||
|
MODEST_INSTALL_CREATE_DIR := mkdir -p $(libdir)
|
||||||
|
ifneq ($(PROJECT_INSTALL_WITHOUT_HEADERS),YES)
|
||||||
|
MODEST_INSTALL_CREATE_DIR += $(includedir)
|
||||||
|
endif
|
||||||
|
|
||||||
|
MODEST_INSTALL_COMMAND := cp -av $(LIB_DIR_BASE)/* $(libdir)
|
||||||
ifneq ($(PROJECT_INSTALL_WITHOUT_HEADERS),YES)
|
ifneq ($(PROJECT_INSTALL_WITHOUT_HEADERS),YES)
|
||||||
MODEST_INSTALL_CREATE_DIR += $(prefix)/$(PROJECT_INSTALL_HEADER)
|
|
||||||
MODEST_INSTALL_COMMAND += $(MODEST_UTILS_NEW_LINE) cp -av $(INCLUDE_DIR_API)/* $(includedir)
|
MODEST_INSTALL_COMMAND += $(MODEST_UTILS_NEW_LINE) cp -av $(INCLUDE_DIR_API)/* $(includedir)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -154,6 +156,10 @@ $(SED) \
|
|||||||
-e 's,@libname\@,$(LIB_NAME),g' \
|
-e 's,@libname\@,$(LIB_NAME),g' \
|
||||||
-e 's,@description\@,$(DESCRIPTION),g' \
|
-e 's,@description\@,$(DESCRIPTION),g' \
|
||||||
$1 > $2
|
$1 > $2
|
||||||
|
MODEST_INSTALL_CREATE_DIR += $(libdir)/pkgconfig
|
||||||
|
MODEST_INSTALL_COMMAND += $(MODEST_UTILS_NEW_LINE) cp -av $(MODEST_PKG_CONFIG_FILE) $(libdir)/pkgconfig
|
||||||
|
|
||||||
|
MODEST_INSTALL_COMMAND := $(MODEST_INSTALL_CREATE_DIR) $(MODEST_UTILS_NEW_LINE) $(MODEST_INSTALL_COMMAND)
|
||||||
|
|
||||||
#********************
|
#********************
|
||||||
# Target options
|
# Target options
|
||||||
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
modest (1.0.0) stable; urgency=medium
|
||||||
|
|
||||||
|
* Initial release
|
||||||
|
|
||||||
|
-- Alexander Borisov <lex.borisov@gmail.com> Tue, 21 Mar 2017 14:46:45 +0200
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
9
|
31
debian/control
vendored
Normal file
31
debian/control
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
Source: modest
|
||||||
|
Section: libs
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Alexander Fedyashov <a@fedyashov.com>
|
||||||
|
Standards-Version: 3.9.5
|
||||||
|
Vcs-Git: git://github.com/lexborisov/Modest.git
|
||||||
|
Vcs-Browser: https://github.com/lexborisov/Modest
|
||||||
|
Homepage: https://github.com/lexborisov/Modest
|
||||||
|
Build-Depends:
|
||||||
|
debhelper (>= 9)
|
||||||
|
|
||||||
|
Package: libmodest
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: same
|
||||||
|
Pre-Depends: ${misc:Pre-Depends}
|
||||||
|
Depends:
|
||||||
|
${misc:Depends},
|
||||||
|
${shlibs:Depends}
|
||||||
|
Description: Modest — a pure C HTML renderer
|
||||||
|
Modest is a fast HTML renderer implemented as a pure C99 library with no
|
||||||
|
outside dependencies.
|
||||||
|
|
||||||
|
Package: libmodest-dev
|
||||||
|
Section: libdevel
|
||||||
|
Architecture: any
|
||||||
|
Depends:
|
||||||
|
libmodest (= ${binary:Version}),
|
||||||
|
${misc:Depends}
|
||||||
|
Description: Modest — a pure C HTML renderer (development files)
|
||||||
|
Modest is a fast HTML renderer implemented as a pure C99 library with no
|
||||||
|
outside dependencies.
|
17
debian/copyright
vendored
Normal file
17
debian/copyright
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
Format: http://dep.debian.net/deps/dep5/
|
||||||
|
Files: *
|
||||||
|
Copyright: 2015-2018 Alexander Borisov
|
||||||
|
License: LGPL
|
||||||
|
.
|
||||||
|
This is free software; you can redistribute it and/or modify it under the
|
||||||
|
terms of the GNU Leser General Public License as published by the Free
|
||||||
|
Software Foundation; either version 2.1, or (at your option) any later
|
||||||
|
version.
|
||||||
|
.
|
||||||
|
This software is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
General Public License for more details.
|
||||||
|
.
|
||||||
|
On Debian systems, you can find the GNU Lesser General Public License
|
||||||
|
version 2.1 in the file /usr/share/common-licenses/LGPL-2.1.
|
1
debian/docs
vendored
Normal file
1
debian/docs
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
README.md
|
4
debian/libmodest-dev.install
vendored
Normal file
4
debian/libmodest-dev.install
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
usr/include
|
||||||
|
usr/lib/libmodest.so
|
||||||
|
usr/lib/libmodest_static.a
|
||||||
|
usr/lib/pkgconfig
|
1
debian/libmodest.install
vendored
Normal file
1
debian/libmodest.install
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
usr/lib/libmodest-*.so
|
10
debian/rules
vendored
Executable file
10
debian/rules
vendored
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
# Uncomment this to turn on verbose mode.
|
||||||
|
# export DH_VERBOSE=1
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --parallel
|
||||||
|
|
||||||
|
override_dh_auto_install:
|
||||||
|
prefix=/usr dh_auto_install --
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.0 (native)
|
Loading…
Reference in New Issue
Block a user