Commit 9d57ff19 authored by Marcelo Jorge Vieira's avatar Marcelo Jorge Vieira

Multi-Arch (Closes: #722774)

parent d3cd2f3f
...@@ -2,7 +2,7 @@ Source: gpt ...@@ -2,7 +2,7 @@ Source: gpt
Section: devel Section: devel
Priority: optional Priority: optional
Maintainer: Marcelo Jorge Vieira (metal) <metal@debian.org> Maintainer: Marcelo Jorge Vieira (metal) <metal@debian.org>
Build-Depends: debhelper (>= 7.0.50~), autotools-dev, antlr, libantlr-dev, libpcre3-dev, locales Build-Depends: debhelper (>= 9), autotools-dev, antlr, libantlr-dev, libpcre3-dev, locales
Standards-Version: 3.9.3 Standards-Version: 3.9.3
Homepage: https://github.com/thiago-silva/gpt Homepage: https://github.com/thiago-silva/gpt
Vcs-Git: git://anonscm.debian.org/users/metal/gpt.git Vcs-Git: git://anonscm.debian.org/users/metal/gpt.git
...@@ -19,6 +19,7 @@ Description: G-Portugol is a portuguese structured programming language ...@@ -19,6 +19,7 @@ Description: G-Portugol is a portuguese structured programming language
Package: libgportugol-dev Package: libgportugol-dev
Section: libdevel Section: libdevel
Architecture: any Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, libgportugol0 (= ${binary:Version}), antlr, libantlr-dev, libpcre3-dev Depends: ${misc:Depends}, libgportugol0 (= ${binary:Version}), antlr, libantlr-dev, libpcre3-dev
Description: Development files for the G-Portugol library Description: Development files for the G-Portugol library
G-Portugol is a portuguese structured programming language, based on the G-Portugol is a portuguese structured programming language, based on the
...@@ -28,6 +29,7 @@ Description: Development files for the G-Portugol library ...@@ -28,6 +29,7 @@ Description: Development files for the G-Portugol library
Package: libgportugol0 Package: libgportugol0
Section: libs Section: libs
Architecture: any Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, ${shlibs:Depends} Depends: ${misc:Depends}, ${shlibs:Depends}
Description: G-Portugol library Description: G-Portugol library
G-Portugol is a portuguese structured programming language, based on the G-Portugol is a portuguese structured programming language, based on the
......
debian/tmp/usr/bin/gpt debian/tmp/usr/bin/gpt
debian/tmp/usr/share/man/man1/* debian/tmp/usr/share/man/man1/*
debian/tmp/usr/share/man/pt_BR/man1/* debian/tmp/usr/share/man/pt_BR/man1/*
debian/tmp/usr/lib/gpt/base.gpt debian/tmp/usr/lib/*/gpt/base.gpt
debian/tmp/usr/include/* debian/tmp/usr/include/*
debian/tmp/usr/lib/lib*.la debian/tmp/usr/lib/*/lib*.la
debian/tmp/usr/lib/lib*.a debian/tmp/usr/lib/*/lib*.a
debian/tmp/usr/lib/lib*.so debian/tmp/usr/lib/*/lib*.so
debian/tmp/usr/lib/lib*.so.* debian/tmp/usr/lib/*/lib*.so.*
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
export ANTLR_BIN=/usr/bin/runantlr export ANTLR_BIN=/usr/bin/runantlr
LOCALE_PATH=`pwd`/debian/tmpdir/usr/lib/locale DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
LOCALE_PATH=`pwd`/debian/tmpdir/usr/lib/$(DEB_HOST_MULTIARCH)/locale
LOCALE_NAME=en_US LOCALE_NAME=en_US
LOCALE_CHARSET=UTF-8 LOCALE_CHARSET=UTF-8
...@@ -10,7 +12,10 @@ LOCALE_CHARSET=UTF-8 ...@@ -10,7 +12,10 @@ LOCALE_CHARSET=UTF-8
dh $@ dh $@
override_dh_auto_configure: override_dh_auto_configure:
dh_auto_configure -- --with-antlr=/usr/share/antlr --enable-install-devel dh_auto_configure -- \
--with-antlr=/usr/share/antlr \
--enable-install-devel \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
override_dh_auto_build: override_dh_auto_build:
mkdir -p $(LOCALE_PATH) mkdir -p $(LOCALE_PATH)
...@@ -21,3 +26,6 @@ override_dh_auto_build: ...@@ -21,3 +26,6 @@ override_dh_auto_build:
override_dh_auto_clean: override_dh_auto_clean:
rm -rf debian/tmpdir rm -rf debian/tmpdir
dh_auto_clean dh_auto_clean
override_dh_strip:
dh_strip --no-automatic-dbgsym
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