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

Multi-Arch (Closes: #722774)

parent d3cd2f3f
......@@ -2,7 +2,7 @@ Source: gpt
Section: devel
Priority: optional
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
Homepage: https://github.com/thiago-silva/gpt
Vcs-Git: git://anonscm.debian.org/users/metal/gpt.git
......@@ -19,6 +19,7 @@ Description: G-Portugol is a portuguese structured programming language
Package: libgportugol-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, libgportugol0 (= ${binary:Version}), antlr, libantlr-dev, libpcre3-dev
Description: Development files for the G-Portugol library
G-Portugol is a portuguese structured programming language, based on the
......@@ -28,6 +29,7 @@ Description: Development files for the G-Portugol library
Package: libgportugol0
Section: libs
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: G-Portugol library
G-Portugol is a portuguese structured programming language, based on the
......
debian/tmp/usr/bin/gpt
debian/tmp/usr/share/man/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/lib/lib*.la
debian/tmp/usr/lib/lib*.a
debian/tmp/usr/lib/lib*.so
debian/tmp/usr/lib/*/lib*.la
debian/tmp/usr/lib/*/lib*.a
debian/tmp/usr/lib/*/lib*.so
debian/tmp/usr/lib/lib*.so.*
debian/tmp/usr/lib/*/lib*.so.*
......@@ -2,7 +2,9 @@
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_CHARSET=UTF-8
......@@ -10,7 +12,10 @@ LOCALE_CHARSET=UTF-8
dh $@
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:
mkdir -p $(LOCALE_PATH)
......@@ -21,3 +26,6 @@ override_dh_auto_build:
override_dh_auto_clean:
rm -rf debian/tmpdir
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