Commit 082a6893 authored by Andreas Tille's avatar Andreas Tille

Inject packaging as it was uploaded to Debian for version 0.5.1-1

parent b4801edb
yaml-cpp (0.5.1-1) unstable; urgency=low
* New upstream release. (Closes: #706708)
* Bump Standards-Version to 3.9.4.
* libyaml-cpp-dev: remove multiarch path in yaml-cpp.pc to make
lintian happy.
* debian/copyright: new Format URI.
* debian/control: remove Vcs-Svn field.
-- Lifeng Sun <lifongsun@gmail.com> Fri, 30 Aug 2013 18:29:05 +0800
yaml-cpp (0.3.0-1) unstable; urgency=low
* Initial release (Closes: #636985)
-- Lifeng Sun <lifongsun@gmail.com> Sun, 03 Jun 2012 23:48:30 +0800
Source: yaml-cpp
Section: devel
Priority: optional
Maintainer: Lifeng Sun <lifongsun@gmail.com>
Build-Depends: debhelper (>= 7.0.50~), cmake, libboost-dev
Standards-Version: 3.9.4
Homepage: http://code.google.com/p/yaml-cpp/
Package: libyaml-cpp0.5
Section: libs
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: YAML parser and emitter for C++
yaml-cpp is a C++ library for parsing and emitting data in YAML 1.2, a
human-readable data serialization format.
.
This package provides run-time library of yaml-cpp.
Package: libyaml-cpp-dev
Section: libdevel
Architecture: any
Depends: libyaml-cpp0.5 (= ${binary:Version}), ${misc:Depends}
Description: YAML parser and emitter for C++ - development files
yaml-cpp is a C++ library for parsing and emitting data in YAML 1.2, a
human-readable data serialization format.
.
This package provides development files of yaml-cpp.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: yaml-cpp
Source: http://code.google.com/p/yaml-cpp/downloads/list
Files: *
Copyright: 2008 Jesse Beder <jbeder@gmail.com>
License: X11
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 X CONSORTIUM 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.
Files: debian/*
Copyright: 2011-2013 Lifeng Sun <lifongsun@gmail.com>
License: GPL-2.0+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package 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.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
usr/include/
usr/lib/*/*.a
usr/lib/*/*.so
usr/lib/pkgconfig/
usr/lib/*/libyaml-cpp.so.*
--- a/yaml-cpp.pc.cmake
+++ b/yaml-cpp.pc.cmake
@@ -1,11 +1,10 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@
-libdir=${prefix}/@LIB_INSTALL_DIR@
includedir=${prefix}/@INCLUDE_INSTALL_ROOT_DIR@
Name: Yaml-cpp
Description: A YAML parser and emitter for C++
Version: @YAML_CPP_VERSION@
Requires:
-Libs: -L${libdir} -lyaml-cpp
+Libs: -lyaml-cpp
Cflags: -I${includedir}
#!/usr/bin/make -f
# 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
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
CPPFLAGS :=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS :=$(shell dpkg-buildflags --get CFLAGS)
CXXFLAGS :=$(shell dpkg-buildflags --get CXXFLAGS)
LDFLAGS :=$(shell dpkg-buildflags --get LDFLAGS)
export DEB_HOST_MULTIARCH CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
override_dh_auto_configure:
dh_testdir
mkdir build-static; cd build-static; \
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
mkdir build-shared; cd build-shared; \
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
override_dh_auto_build:
dh_testdir
$(MAKE) -C build-static
$(MAKE) -C build-shared
override_dh_auto_install:
dh_testdir
dh_prep
$(MAKE) -C build-static install DESTDIR=$(CURDIR)/debian/tmp
$(MAKE) -C build-shared install DESTDIR=$(CURDIR)/debian/tmp
mkdir debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
mv debian/tmp/usr/lib/lib* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/
clean:
dh_testdir
dh_auto_clean
dh_clean
rm -rf build-static build-shared
%:
dh $@
.PHONY: clean
version=3
http://code.google.com/p/yaml-cpp/downloads/list .*yaml-cpp-([0-9].*)\.tar\.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment