Navigation Menu

Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
fix pbuilder package building
Browse files Browse the repository at this point in the history
  • Loading branch information
opdenkamp committed May 21, 2011
1 parent 8281379 commit fb0a92f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions debian/control
@@ -1,8 +1,8 @@
Source: tvheadend
Section: main
Section: video
Priority: extra
Maintainer: Andreas Öman <andreas@lonelycoder.com>
Build-Depends: debhelper (>= 7.0.50)
Build-Depends: debhelper (>= 7.0.50), pkg-config, libavahi-client-dev, libssl-dev
Standards-Version: 3.7.3

Package: tvheadend
Expand Down
8 changes: 6 additions & 2 deletions debian/rules
Expand Up @@ -25,10 +25,14 @@ override_dh_auto_build:
$(MAKE)

override_dh_install:
$(MAKE) prefix=$(CURDIR)/debian/tvheadend/usr install
$(MAKE) DESTDIR=$(CURDIR)/debian/tvheadend install

override_dh_installinit:
dh_installinit --name tvheadend

override_dh_strip:
dh_strip --dbg-package=tvheadend-dbg
dh_strip --dbg-package=tvheadend-dbg

override_dh_autotest:
echo "skipped autotest"

12 changes: 5 additions & 7 deletions support/posix.mk
@@ -1,23 +1,21 @@

INSTBIN= ${DESTDIR}${INSTALLPREFIX}/bin
INSTMAN= ${DESTDIR}${INSTALLPREFIX}/share/man1
INSTDBG= ${DESTDIR}/usr/lib/debug/${INSTALLPREFIX}/bin
INSTDBG= ${DESTDIR}${INSTALLPREFIX}/lib/debug/bin
MAN=man/tvheadend.1

install: ${PROG} ${MAN}
mkdir -p ${INSTBIN}
mkdir -p ${INSTDBG}
install -T ${PROG} ${INSTBIN}/tvheadend
mkdir -p ${INSTMAN}
install ${MAN} ${INSTMAN}

install-debug: ${PROG}
mkdir -p ${INSTDBG}
objcopy --only-keep-debug ${INSTBIN}/tvheadend ${INSTDBG}/tvheadend.debug
strip -g ${INSTBIN}/tvheadend

objcopy --add-gnu-debuglink=${INSTDBG}/tvheadend.debug ${INSTBIN}/tvheadend


mkdir -p ${INSTMAN}
install ${MAN} ${INSTMAN}

uninstall:
rm -f ${INSTBIN}/tvheadend
rm -f ${INSTDBG}/tvheadend.debug
Expand Down

0 comments on commit fb0a92f

Please sign in to comment.