File: rules

package info (click to toggle)
premake4 4.3%2Brepack1-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, jessie, jessie-kfreebsd, stretch, trixie
  • size: 1,640 kB
  • ctags: 1,150
  • sloc: ansic: 636; makefile: 69; sh: 2
file content (24 lines) | stat: -rwxr-xr-x 828 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/upstream-tarball.mk
include /usr/share/cdbs/1/class/makefile.mk

DEB_UPSTREAM_PACKAGE = premake
DEB_UPSTREAM_URL = http://prdownloads.sourceforge.net/premake
DEB_UPSTREAM_WORKDIR = ../
DEB_UPSTREAM_TARBALL_BASENAME_MANGLE = s/(.*)/$$1-src/
DEB_UPSTREAM_TARBALL_EXTENSION = zip
DEB_UPSTREAM_TARBALL_MD5 = 8cfafee76f9665c93b2e9ad15b015eb7
DEB_UPSTREAM_TARBALL_SRCDIR = $(DEB_UPSTREAM_TARBALL_BASENAME)
DEB_UPSTREAM_REPACKAGE_EXCLUDES = src/host/lua-5.1.4/
DEB_UPSTREAM_REPACKAGE_DELIMITER = +
DEB_UPSTREAM_REPACKAGE_TAG = repack1

DEB_INSTALL_CHANGELOGS_ALL := CHANGES.txt

install/premake4::
	install -d $(CURDIR)/debian/premake4/usr/bin
	install $(CURDIR)/bin/release/premake4 $(CURDIR)/debian/premake4/usr/bin