Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add files to build a debian package #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
libtess2 (1.0.1) stable; urgency=medium

* Initial Release.

-- Paul Morelle <[email protected]> Tue, 26 Apr 2019 00:36:50 +0100
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
22 changes: 22 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Source: libtess2
Priority: optional
Maintainer: Paul Morelle <[email protected]>
Build-Depends: debhelper (>= 9),
libglew-dev,
libglfw3-dev,
libglu1-mesa-dev,
pkg-config,
premake4
Standards-Version: 3.9.8
Section: libs
Homepage: https://github.com/memononen/libtess2
Vcs-Git: https://github.com/memononen/libtess2.git
Vcs-Browser: https://github.com/memononen/libtess2

Package: libtess2-dev
Section: libdevel
Architecture: any
Depends: libglew-dev,
libglfw3-dev,
libglu1-mesa
Description: Game and tools oriented refactored version of GLU tesselator
3 changes: 3 additions & 0 deletions debian/libtess2-dev.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Build/libtess2.a usr/lib
Build/copyright usr/share/doc/libtess2-dev
Include/tesselator.h usr/include
24 changes: 24 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1


# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed


%:
dh $@


override_dh_auto_build:
premake4 gmake
make -C Build
cp LICENSE.txt Build/copyright