Browse Source

gnunet: update source, add sysupgrade persistentency

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 9 years ago
parent
commit
15107764b3
1 changed files with 16 additions and 2 deletions
  1. +16
    -2
      net/gnunet/Makefile

+ 16
- 2
net/gnunet/Makefile View File

@ -8,9 +8,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=gnunet
PKG_SOURCE_VERSION:=36060
PKG_SOURCE_VERSION:=36068
PKG_VERSION:=0.10.1-svn$(PKG_SOURCE_VERSION)
PKG_RELEASE:=2
PKG_RELEASE:=1
# ToDo:
# - break-out {peer,name,data}store for each backend
@ -173,6 +173,20 @@ define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/usr/include/gnunet/*.h $(1)/usr/include/gnunet
endef
define Package/gnunet/postinst
#!/bin/sh
grep -qc "/etc/gnunet" "$${IPKG_INSTROOT}"/etc/sysupgrade.conf >/dev/null ||
echo "/etc/gnunet/" >> "$${IPKG_INSTROOT}"/etc/sysupgrade.conf
endef
define Package/gnunet/postrm
#!/bin/sh
grep -qc "/etc/gnunet" "$${IPKG_INSTROOT}"/etc/sysupgrade.conf >/dev/null &&
sed -i '/\/etc\/gnunet/d' "$${IPKG_INSTROOT}"/etc/sysupgrade.conf
endef
DEPENDS_conversation:=+gnunet-gns +libgst1app +libgst1audio +libgstreamer1 +glib2 +pulseaudio-daemon +libopus +libogg
BIN_conversation:=conversation conversation-test
LIB_conversation:=conversation microphone speaker


Loading…
Cancel
Save