d515611d6d
Updated the patch as the makeicecat script was rewritten for this release. The additional source archives were renamed from extras to output as makeicecat assumes the Firefox source code and language packs are in the output directory and debuild creates a directory with the name from the archive.
37 linhas
1.0 KiB
Makefile
Arquivo Executável
37 linhas
1.0 KiB
Makefile
Arquivo Executável
#!/usr/bin/make -f
|
|
|
|
# Leave commented unless debugging build issues
|
|
#export DH_VERBOSE = 1
|
|
#export DH_OPTIONS = -v
|
|
|
|
export SHELL=/bin/bash
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
|
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,--reduce-memory-overheads -Wl,--no-keep-memory
|
|
|
|
FFVERSION = 78.7.1
|
|
|
|
%:
|
|
mkdir -p output/build output/icecat-$(FFVERSION)
|
|
dh $@ --builddirectory=output/build --sourcedirectory=output/icecat-$(FFVERSION)
|
|
|
|
override_dh_auto_configure:
|
|
./makeicecat
|
|
ifneq (64,$(DEB_BUILD_ARCH_BITS))
|
|
cd output/build && ../icecat-$(FFVERSION)/configure \
|
|
--prefix=/usr \
|
|
--includedir=\${prefix}/include \
|
|
--libdir=\${prefix}/lib/$(DEB_HOST_MULTIARCH) \
|
|
--with-l10n-base=../icecat-$(FFVERSION)/l10n \
|
|
--disable-debug-symbols
|
|
else
|
|
cd output/build && ../icecat-$(FFVERSION)/configure \
|
|
--prefix=/usr \
|
|
--includedir=\${prefix}/include \
|
|
--libdir=\${prefix}/lib/$(DEB_HOST_MULTIARCH) \
|
|
--with-l10n-base=../icecat-$(FFVERSION)/l10n
|
|
endif
|
|
|
|
override_dh_auto_test:
|