X-Git-Url: http://git.maemo.org/git/?p=presencevnc;a=blobdiff_plain;f=debian%2Frules;h=6248301bb896a33caa9eb94dc887ac08b6c9c748;hp=90f57571fa9ca6b8bc546ac128607676be8f0a03;hb=e48ffed2253f807c7164bd2568d3ddec9660a132;hpb=4cfe5df39b76ef643d8b209fbaa5c61e1403b75d diff --git a/debian/rules b/debian/rules index 90f5757..6248301 100755 --- a/debian/rules +++ b/debian/rules @@ -5,20 +5,19 @@ export DH_VERBOSE=1 #currently builds a maemo-only package #comment this line for quick builds -#buildlibs=foo +buildlibs=foo SOURCEDIR=./ BUILDDIR=debian/build/ ICONDIR=usr/share/icons/hicolor/ BINDIR=usr/bin/ -RESDIR=opt/presencevnc/ DESKTOP_DIR=usr/share/applications/hildon/ build: dh_testdir install -d ${BUILDDIR} ifdef buildlibs - cd libvnc && ./configure && make + cd libvnc && ./configure && cd libvncclient && make endif qmake-qt4 -after "DESTDIR=debian/build" $(MAKE) @@ -46,7 +45,7 @@ binary-arch: build install dh_compress dh_fixperms dh_installdeb - LD_LIBRARY_PATH=debian/presencevnc/${RESDIR} dh_shlibdeps -l debian/presencevnc/${RESDIR} + dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb @@ -57,11 +56,8 @@ install: build dh_testdir dh_testroot dh_clean -k - dh_installdirs ${BINDIR} $(RESDIR) - dh_install libvnc/libvncclient/.libs/libvncclient.so.0.0.0 ${RESDIR} - mv debian/presencevnc/${RESDIR}libvncclient.so.0.0.0 debian/presencevnc/${RESDIR}libvncclient.so.0 - dh_install ${BUILDDIR}presencevnc-bin ${RESDIR} - dh_install presencevnc ${BINDIR} + dh_installdirs ${BINDIR} + dh_install ${BUILDDIR}presencevnc ${BINDIR} dh_install presencevnc.desktop $(DESKTOP_DIR) dh_install icons/48x48/presencevnc.png $(ICONDIR)48x48/apps dh_install icons/64x64/presencevnc.png $(ICONDIR)64x64/apps