Added specific control files for different Ubuntu versions
This commit is contained in:
@@ -28,7 +28,7 @@ OS ?= ubuntu
|
||||
DIST ?= focal
|
||||
TAR_EXT ?= gz
|
||||
|
||||
build_dir = _BUILD/$(NAME)/$(OS)/$(DIST)
|
||||
build_dir = _BUILD/$(OS)/$(DIST)
|
||||
|
||||
VERSION ?= $(shell git describe --tags --always --abbrev=7)
|
||||
COMMIT ?= $(shell git rev-parse HEAD)
|
||||
@@ -57,7 +57,7 @@ deb:
|
||||
mkdir $(NAME)-$(VERSION)
|
||||
echo "Extracting source archive..."
|
||||
tar xf $(NAME)-$(VERSION).tar.$(TAR_EXT) -C $(NAME)-$(VERSION) --strip-components 1
|
||||
cp -R ../../../../debian $(NAME)-$(VERSION)/debian
|
||||
cp -R ../../../debian $(NAME)-$(VERSION)/debian
|
||||
cd $(NAME)-$(VERSION)
|
||||
$(call subst_template_dir,DATETIME,$(shell date -R),debian)
|
||||
$(call subst_template_dir,OS,${OS},debian)
|
||||
@@ -68,6 +68,7 @@ deb:
|
||||
$(call subst_template_dir,MAINTAINER_NAME,${MAINTAINER_NAME},debian)
|
||||
$(call subst_template_dir,MAINTAINER_EMAIL,${MAINTAINER_EMAIL},debian)
|
||||
mk-origtargz ../$(NAME)-$(VERSION).tar.$(TAR_EXT)
|
||||
cp debian/control.$(DIST) debian/control
|
||||
# BUILD SOURCE PACKAGE FOR LAUNCHPAD
|
||||
debuild -S -sa -us -d -k$(GPG_KEY) #--source-option=--include-binaries --source-option=--include-removal --source-option=-isession
|
||||
# BUILD LOCALLY BINARY PACKAGE
|
||||
|
||||
@@ -2,7 +2,7 @@ Source: clang-uml
|
||||
Maintainer: Bartek Kryza <bkryza@gmail.com>
|
||||
Section: devel
|
||||
Priority: optional
|
||||
Build-Depends: debhelper, make, gcc, g++, cmake, libyaml-cpp-dev, clang, libclang-dev, libclang-cpp-dev
|
||||
Build-Depends: debhelper, make, gcc-8, g++-8, cmake, libyaml-cpp-dev, clang-10, libclang-10-dev, libclang-cpp10-dev
|
||||
Standards-Version: 4.3.0
|
||||
Vcs-Browser: https://github.com/bkryza/clang-uml
|
||||
Vcs-Git: https://github.com/bkryza/clang-uml.git
|
||||
@@ -10,8 +10,7 @@ Homepage: https://github.com/bkryza/clang-uml
|
||||
|
||||
Package: clang-uml
|
||||
Architecture: any
|
||||
#Multi-Arch: same
|
||||
Section: libs
|
||||
Section: utils
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Description: Automatic C++ UML diagram generator based on Clang.
|
||||
18
packaging/debian/control.focal
Normal file
18
packaging/debian/control.focal
Normal file
@@ -0,0 +1,18 @@
|
||||
Source: clang-uml
|
||||
Maintainer: Bartek Kryza <bkryza@gmail.com>
|
||||
Section: devel
|
||||
Priority: optional
|
||||
Build-Depends: debhelper, make, gcc-10, g++-10, cmake, libyaml-cpp-dev, clang-12, libclang-12-dev, libclang-cpp12-dev
|
||||
Standards-Version: 4.3.0
|
||||
Vcs-Browser: https://github.com/bkryza/clang-uml
|
||||
Vcs-Git: https://github.com/bkryza/clang-uml.git
|
||||
Homepage: https://github.com/bkryza/clang-uml
|
||||
|
||||
Package: clang-uml
|
||||
Architecture: any
|
||||
Section: utils
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Description: Automatic C++ UML diagram generator based on Clang.
|
||||
.
|
||||
This package provides the clang-uml binary.
|
||||
18
packaging/debian/control.jammy
Normal file
18
packaging/debian/control.jammy
Normal file
@@ -0,0 +1,18 @@
|
||||
Source: clang-uml
|
||||
Maintainer: Bartek Kryza <bkryza@gmail.com>
|
||||
Section: devel
|
||||
Priority: optional
|
||||
Build-Depends: debhelper, make, gcc-12, g++-12, cmake, libyaml-cpp-dev, clang-14, libclang-14-dev, libclang-cpp14-dev
|
||||
Standards-Version: 4.3.0
|
||||
Vcs-Browser: https://github.com/bkryza/clang-uml
|
||||
Vcs-Git: https://github.com/bkryza/clang-uml.git
|
||||
Homepage: https://github.com/bkryza/clang-uml
|
||||
|
||||
Package: clang-uml
|
||||
Architecture: any
|
||||
Section: utils
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Description: Automatic C++ UML diagram generator based on Clang.
|
||||
.
|
||||
This package provides the clang-uml binary.
|
||||
Reference in New Issue
Block a user