Update for support creation debian package for amd64 architecture.

--HG--
branch : develop
This commit is contained in:
dismine 2014-11-25 14:10:35 +02:00
parent 14578e7b12
commit c396e67700
2 changed files with 10 additions and 2 deletions

10
dist/debian/rules vendored
View File

@ -4,6 +4,14 @@
#export DH_VERBOSE=1 #export DH_VERBOSE=1
APPNAME := Valentina APPNAME := Valentina
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
ifeq ($(DEB_HOST_ARCH),amd64)
LIBPATH:= /debian/tmp/usr/lib64
else
LIBPATH:= /debian/tmp/usr/lib
endif
builddir: builddir:
mkdir -p builddir mkdir -p builddir
@ -48,7 +56,7 @@
dh_fixperms dh_fixperms
dh_makeshlibs dh_makeshlibs
dh_installdeb dh_installdeb
dh_shlibdeps -Llibqmuparser2 -l$(CURDIR)/debian/tmp/usr/lib -Llibvpropertyexplorer -l$(CURDIR)/debian/tmp/usr/lib dh_shlibdeps -Llibqmuparser2 -l$(CURDIR)$(LIBPATH) -Llibvpropertyexplorer -l$(CURDIR)$(LIBPATH)
dh_shlibdeps dh_shlibdeps
dh_gencontrol dh_gencontrol
dh_md5sums dh_md5sums

View File

@ -1,5 +1,5 @@
usr/bin/* usr/bin/*
usr/lib/lib* usr/lib*
usr/share/valentina/translations/* usr/share/valentina/translations/*
usr/share/valentina/tables/standard/* usr/share/valentina/tables/standard/*
usr/share/pixmaps/* usr/share/pixmaps/*