Update for support creation debian package for amd64 architecture.
--HG-- branch : develop
This commit is contained in:
parent
14578e7b12
commit
c396e67700
10
dist/debian/rules
vendored
10
dist/debian/rules
vendored
|
@ -4,6 +4,14 @@
|
|||
#export DH_VERBOSE=1
|
||||
|
||||
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:
|
||||
mkdir -p builddir
|
||||
|
||||
|
@ -48,7 +56,7 @@
|
|||
dh_fixperms
|
||||
dh_makeshlibs
|
||||
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_gencontrol
|
||||
dh_md5sums
|
||||
|
|
2
dist/debian/valentina.install
vendored
2
dist/debian/valentina.install
vendored
|
@ -1,5 +1,5 @@
|
|||
usr/bin/*
|
||||
usr/lib/lib*
|
||||
usr/lib*
|
||||
usr/share/valentina/translations/*
|
||||
usr/share/valentina/tables/standard/*
|
||||
usr/share/pixmaps/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user