diff options
author | Paul Spooren <mail@aparcar.org> | 2022-03-20 15:18:27 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-03-31 10:01:49 +0200 |
commit | f4042854d3a5a75ad34f856d0d12d5c74e751488 (patch) | |
tree | 0e85cc0f39a2a9acf0469816255cb2323c4a2ebb /debian/rules | |
parent | 8134e2509d6aa201e46eaae4f7eb55bfbbf758ee (diff) |
debian: Add package definition
This adds Debian packages for the ucode interpreter, the runtime library,
development headers and extension modules.
Fixes: #55
Signed-off-by: Paul Spooren <mail@aparcar.org>
[split into multiple packages, pass SOVERSION to the build]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..a55477a --- /dev/null +++ b/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- \ + -D SOVERSION=$(shell dpkg-parsechangelog | sed -rne 's/^Version: 0\.0\.([0-9]+).*$$/\1/p') \ + -D NL80211_SUPPORT=OFF \ + -D RTNL_SUPPORT=OFF \ + -D UBUS_SUPPORT=OFF \ + -D UCI_SUPPORT=OFF \ + -D ULOOP_SUPPORT=OFF |