Commit 33cb9be5 authored by Ricardo Mones's avatar Ricardo Mones

make dependencies binNMU-friendly

parent f2043b69
...@@ -8,7 +8,7 @@ Standards-Version: 3.6.2 ...@@ -8,7 +8,7 @@ Standards-Version: 3.6.2
Package: epiphany Package: epiphany
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, epiphany-data (= ${Source-Version}) Depends: ${shlibs:Depends}, epiphany-data (>= ${Upstream-Version})
Description: clone of Boulder Dash game Description: clone of Boulder Dash game
Epiphany is a multi-platform clone of Boulder Dash. Epiphany is a multi-platform clone of Boulder Dash.
In this game, the player must collect all the valuable minerals In this game, the player must collect all the valuable minerals
...@@ -20,7 +20,7 @@ Description: clone of Boulder Dash game ...@@ -20,7 +20,7 @@ Description: clone of Boulder Dash game
Package: epiphany-data Package: epiphany-data
Architecture: all Architecture: all
Recomends: epiphany (= ${Source-Version}) Recommends: epiphany (>= ${Source-Version})
Description: required maps for epiphany game Description: required maps for epiphany game
This package provides all architecture-independent data files This package provides all architecture-independent data files
required for playing with epiphany, the Boulder Dash clone. required for playing with epiphany, the Boulder Dash clone.
Upstream-Version=0.5.1
#!/bin/bash
head -1 $1/debian/changelog | cut -d '(' -f 2 | cut -d '-' -f 1
...@@ -10,6 +10,8 @@ TOPDIR := $(shell pwd) ...@@ -10,6 +10,8 @@ TOPDIR := $(shell pwd)
t = ${TOPDIR}/debian/epiphany t = ${TOPDIR}/debian/epiphany
d = ${TOPDIR}/debian/epiphany-data d = ${TOPDIR}/debian/epiphany-data
UPSTREAM_VERSION = $(shell /bin/bash ${TOPDIR}/debian/get-ups-ver.sh ${TOPDIR})
CFLAGS = -Wall -g CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
...@@ -57,7 +59,7 @@ binary-arch: build install ...@@ -57,7 +59,7 @@ binary-arch: build install
dh_fixperms dh_fixperms
dh_installdeb dh_installdeb
dh_shlibdeps dh_shlibdeps
dh_gencontrol dh_gencontrol -- -VUpstream-Version=$(UPSTREAM_VERSION)
dh_md5sums dh_md5sums
dh_builddeb dh_builddeb
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment