WIP: packaging
Change-Id: Ic55bca1260f992d0ed8583e7c7fe948ba0160d4d
This commit is contained in:
parent
9491cf41d0
commit
8f18bfbb5f
|
@ -0,0 +1,5 @@
|
|||
osmo-diameter2gsup (0.0.1) UNRELEASED; urgency=medium
|
||||
|
||||
* Initial release. (Closes: #XXXXXX)
|
||||
|
||||
-- Harald Welte <lafore@gnumonks.org> Tue, 12 Jul 2022 17:51:01 +0200
|
|
@ -0,0 +1 @@
|
|||
9
|
|
@ -0,0 +1,23 @@
|
|||
Source: osmo-diameter2gsup
|
||||
Maintainer: Osmocom Community <openbsc@lists.osmocom.org>
|
||||
Section:
|
||||
Priority: optional
|
||||
Build-Depends: rebar3,
|
||||
erlang-base,
|
||||
erlang-eunit
|
||||
Standards-Version: 3.9.8
|
||||
#Vcs-Browser:
|
||||
#Vcs-Git:
|
||||
#Homepage:
|
||||
|
||||
Package: osmo-diameter2gsup
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
erlang-bsae, ${erlang-abi:Depends},
|
||||
${erlang:Depends}
|
||||
Multi-Arch: allowed
|
||||
Description: Osmocom DIAMETER to GSUP translator
|
||||
This can be used to translate DIAMETER requests (such as those by an EPC)
|
||||
to the Osmocom specific GSUP protocol, which means you can use OsmoHLR
|
||||
as a simplistic HSS.
|
|
@ -0,0 +1 @@
|
|||
EXEC_REBAR_COMMANDS=compile eunit
|
|
@ -0,0 +1,44 @@
|
|||
#!/usr/bin/make -f
|
||||
export DH_VERBOSE=1
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
include /usr/share/dpkg/default.mk
|
||||
export ERL_COMPILER_OPTIONS=deterministic
|
||||
|
||||
BUILD_TARGET=rebar_compile
|
||||
TEST_TARGET=rebar_eunit
|
||||
|
||||
.PHONY: build clean test install configure
|
||||
|
||||
clean_debhelper:
|
||||
$(H)$(call empty_trash)
|
||||
$(H)$(RM) -rf debian/trash
|
||||
|
||||
|
||||
build: $(BUILD_TARGET)
|
||||
|
||||
test: $(TEST_TARGET)
|
||||
|
||||
configure:
|
||||
|
||||
clean: clean_debhelper
|
||||
$(H)echo $@
|
||||
rebar3 clean skip_deps=true -vv
|
||||
$(H)rm -rf ebin/*.beam
|
||||
$(H)rm -rf ebin/*.app
|
||||
$(H)rm -rf c_src/*.o
|
||||
$(H)rm -rf priv/.so
|
||||
$(H)rm -rf .eunit
|
||||
|
||||
rebar_compile:
|
||||
$(H)echo $@
|
||||
rebar3 compile skip_deps=true -vv
|
||||
|
||||
binary:
|
||||
$(H)echo $@
|
||||
rebar3 escriptize
|
||||
|
||||
install:
|
||||
$(H)echo $@
|
||||
$(H)$(call trash, $(DEB_INST_PKG))
|
||||
$(H)install -d
|
||||
|
Loading…
Reference in New Issue