[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to build debian package for gpsd?
From: |
Bernd Zeimetz |
Subject: |
Re: How to build debian package for gpsd? |
Date: |
Fri, 24 Apr 2020 22:57:40 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
On 4/24/20 11:43 AM, raaj lokanathan wrote:
> I am trying to modify the debian rules file to build the debian package
> for gpsd. All I get is an empty .deb file. Gary told me that there is
> some expert here who can help me on this.
What you are using as debian/rules is useless to build gpsd.
What do you want to achieve?
The official debian debian/rules is here:
https://salsa.debian.org/debian-gps-team/pkg-gpsd/-/blob/master/debian/rules
Feel free to send patches if you want to optimize something.
Bernd
> This is my current rules file:
>
>
> Raaj Lokanathan (CM-CI1/ESS1-Pg)
>
>
> 09:43 (7 hours ago)
>
> to me
>
> #!/usr/bin/make -f____
>
> # See debhelper(7) (uncomment to enable)____
>
> # output every command that modifies files on the build system.____
>
> #export DH_VERBOSE = 1____
>
> SCONS = scons____
>
> DEB_SCONS_OPTIONS := PREFIX=/usr DESTDIR=$(CURDIR)/debian/gpsd/usr____
>
> __ __
>
> # see FEATURE AREAS in dpkg-buildflags(1)____
>
> #export DEB_BUILD_MAINT_OPTIONS = hardening=+all____
>
> __ __
>
> # see ENVIRONMENT in dpkg-buildflags(1)____
>
> # package maintainers to append CFLAGS____
>
> #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic____
>
> # package maintainers to append LDFLAGS____
>
> #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed____
>
> __ __
>
> __ __
>
> %:____
>
> dh $@____
>
> __ __
>
> override_dh_auto_build:____
>
> $(SCONS) $(DEB_SCONS_OPTIONS) -j 4 build____
>
> __ __
>
> override_dh_auto_clean:____
>
> dh_auto_clean____
>
> rm -rf .sconf_temp/ .sconsign.2.dblite .scons-option-cache____
>
> __ __
>
> override_dh_auto_install:____
>
> $(SCONS) $(DEB_SCONS_OPTIONS) install____
>
> __ __
>
> # dh_make generated override targets____
>
> # This is example for Cmake (See https://bugs.debian.org/641051 )____
>
> #override_dh_auto_configure:____
>
> # dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
>
>
> --
> Thanks and regards,
>
> Raaj Lokanathan
--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F