Skip to content

Commit

Permalink
Add files to build a debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
madprog committed Apr 26, 2019
1 parent 882e5e9 commit e6c11ad
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 0 deletions.
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

0 comments on commit e6c11ad

Please sign in to comment.