diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2012-04-11 11:36:22 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-04-15 23:05:53 +0200 |
commit | 74097fd659154499612f21fabeda4e3e7c8fdbfc (patch) | |
tree | 6b44d59dbf6851163126d941f5b5493c70ca07cf /package/ushare/ushare.mk | |
parent | 5fadbb58abb54f816f13367c9af4323136f4cf49 (diff) |
ushare: new package
UPnP media streamer.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/ushare/ushare.mk')
-rw-r--r-- | package/ushare/ushare.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/ushare/ushare.mk b/package/ushare/ushare.mk new file mode 100644 index 000000000..ac8cbc356 --- /dev/null +++ b/package/ushare/ushare.mk @@ -0,0 +1,31 @@ +############################################################# +# +# ushare +# +############################################################# + +USHARE_VERSION = 1.1a +USHARE_SOURCE = ushare-$(USHARE_VERSION).tar.bz2 +USHARE_SITE = http://ushare.geexbox.org/releases +USHARE_DEPENDENCIES = host-pkg-config libupnp + +define USHARE_CONFIGURE_CMDS + (cd $(@D); \ + $(TARGET_CONFIGURE_OPTS) \ + ./configure --prefix=/usr $(DISABLE_NLS) --cross-compile \ + --cross-prefix="$(TARGET_CROSS)" --sysconfdir=/etc \ + --disable-strip \ + ) +endef + +define USHARE_BUILD_CMDS + $(MAKE) -C $(@D) +endef + +define USHARE_INSTALL_TARGET_CMDS + $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install + rm -f $(TARGET_DIR)/etc/init.d/ushare +endef + +# Even though configure is called it's not autoconf +$(eval $(call GENTARGETS)) |