Skip to content

Commit e6c11ad

Browse files
committed
Add files to build a debian package
1 parent 882e5e9 commit e6c11ad

File tree

5 files changed

+55
-0
lines changed

5 files changed

+55
-0
lines changed

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
libtess2 (1.0.1) stable; urgency=medium
2+
3+
* Initial Release.
4+
5+
-- Paul Morelle <paul@scengrafics.com> Tue, 26 Apr 2019 00:36:50 +0100

debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9

debian/control

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Source: libtess2
2+
Priority: optional
3+
Maintainer: Paul Morelle <paul@scengrafics.com>
4+
Build-Depends: debhelper (>= 9),
5+
libglew-dev,
6+
libglfw3-dev,
7+
libglu1-mesa-dev,
8+
pkg-config,
9+
premake4
10+
Standards-Version: 3.9.8
11+
Section: libs
12+
Homepage: https://github.com/memononen/libtess2
13+
Vcs-Git: https://github.com/memononen/libtess2.git
14+
Vcs-Browser: https://github.com/memononen/libtess2
15+
16+
Package: libtess2-dev
17+
Section: libdevel
18+
Architecture: any
19+
Depends: libglew-dev,
20+
libglfw3-dev,
21+
libglu1-mesa
22+
Description: Game and tools oriented refactored version of GLU tesselator

debian/libtess2-dev.install

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Build/libtess2.a usr/lib
2+
Build/copyright usr/share/doc/libtess2-dev
3+
Include/tesselator.h usr/include

debian/rules

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/usr/bin/make -f
2+
# See debhelper(7) (uncomment to enable)
3+
# output every command that modifies files on the build system.
4+
#export DH_VERBOSE = 1
5+
6+
7+
# see FEATURE AREAS in dpkg-buildflags(1)
8+
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
9+
10+
# see ENVIRONMENT in dpkg-buildflags(1)
11+
# package maintainers to append CFLAGS
12+
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
13+
# package maintainers to append LDFLAGS
14+
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
15+
16+
17+
%:
18+
dh $@
19+
20+
21+
override_dh_auto_build:
22+
premake4 gmake
23+
make -C Build
24+
cp LICENSE.txt Build/copyright

0 commit comments

Comments
 (0)