python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / ushare / ushare.mk
blob62d269c47646f6c1f672dd38d6f5fee6d43ac035
1 ################################################################################
3 # ushare
5 ################################################################################
7 USHARE_VERSION = 1.1a
8 USHARE_SOURCE = ushare-$(USHARE_VERSION).tar.bz2
9 USHARE_SITE = http://ushare.geexbox.org/releases
10 USHARE_DEPENDENCIES = host-pkgconf libupnp
11 USHARE_LICENSE = GPLv2+
12 USHARE_LICENSE_FILES = COPYING
14 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
15 USHARE_DEPENDENCIES += gettext
16 USHARE_LDFLAGS += -lintl
17 endif
19 define USHARE_CONFIGURE_CMDS
20 (cd $(@D); \
21 $(TARGET_CONFIGURE_OPTS) \
22 ./configure --prefix=/usr $(DISABLE_NLS) --cross-compile \
23 --cross-prefix="$(TARGET_CROSS)" --sysconfdir=/etc \
24 --disable-strip \
26 endef
28 define USHARE_BUILD_CMDS
29 $(TARGET_MAKE_ENV) $(MAKE) LDFLAGS="$(TARGET_LDFLAGS) $(USHARE_LDFLAGS)" -C $(@D)
30 endef
32 define USHARE_INSTALL_TARGET_CMDS
33 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
34 rm -f $(TARGET_DIR)/etc/init.d/ushare
35 endef
37 # Even though configure is called it's not autoconf
38 $(eval $(generic-package))