first stab at debian packaging
This commit is contained in:
parent
586b2e12be
commit
9c012eb4e0
4 changed files with 70 additions and 0 deletions
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
regal (0.1) stable; urgency=medium
|
||||
|
||||
* Initial release. (Closes: #XXXXXX)
|
||||
|
||||
-- jepler <jepler@babs.unpythonic.net> Fri, 19 Sep 2014 21:23:43 -0500
|
||||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
7
|
||||
39
debian/control
vendored
Normal file
39
debian/control
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
Source: regal
|
||||
Maintainer: Jeff Epler <jepler@unpythonic.net>
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Standards-Version: 3.9.3
|
||||
Build-Depends: libegl1-mesa-dev
|
||||
|
||||
Package: libregal
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Regal is a user-space OpenGL layer
|
||||
.
|
||||
Regal supports OpenGL 2.x, 3.x, 4.x, Core contexts and ES 2.0. Regal
|
||||
implements OpenGL loading, emulation for ES and Core contexts and tools for
|
||||
debugging.
|
||||
.
|
||||
This package contains the runtime libraries
|
||||
|
||||
Package: libregal-dev
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Regal is a user-space OpenGL layer
|
||||
.
|
||||
Regal supports OpenGL 2.x, 3.x, 4.x, Core contexts and ES 2.0. Regal
|
||||
implements OpenGL loading, emulation for ES and Core contexts and tools for
|
||||
debugging.
|
||||
.
|
||||
This package contains the development files.
|
||||
|
||||
Package: libregal-progs
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Regal is a user-space OpenGL layer
|
||||
.
|
||||
Regal supports OpenGL 2.x, 3.x, 4.x, Core contexts and ES 2.0. Regal
|
||||
implements OpenGL loading, emulation for ES and Core contexts and tools for
|
||||
debugging.
|
||||
.
|
||||
This package contains information and demo programs
|
||||
25
debian/rules
vendored
Executable file
25
debian/rules
vendored
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
#!/usr/bin/make -f
|
||||
.PHONY: $(wildcard *)
|
||||
%:
|
||||
dh $@ --parallel
|
||||
|
||||
ARCH=$(shell dpkg-qrchitecture -qDEB_BUILD_MULTIARCH)
|
||||
|
||||
override_dh_auto_clean:
|
||||
rm -rf bin lib tmp
|
||||
|
||||
LIBREGAL := $(CURDIR)/debian/libregal/usr
|
||||
LIBREGALDEV := $(CURDIR)/debian/libregal-dev/usr
|
||||
REGALPROGS := $(CURDIR)/debian/libregal-progs/usr
|
||||
override_dh_auto_install:
|
||||
|
||||
mkdir -p ${LIBREGALDEV}/include/GL
|
||||
mkdir -p ${LIBREGALDEV}/lib/${ARCH}
|
||||
cp include/GL/* ${LIBREGALDEV}/include/GL/
|
||||
cp lib/linux/*.so ${LIBREGALDEV}/lib/${ARCH}/
|
||||
|
||||
mkdir -p ${LIBREGAL}/lib
|
||||
cp lib/linux/*.so.* ${LIBREGAL}/lib/${ARCH}/
|
||||
|
||||
mkdir -p ${REGALPROGS}/bin
|
||||
cp bin/linux/* ${REGALPROGS}/bin/
|
||||
Loading…
Reference in a new issue