gst1-plugins-base: bump to version 1.10.4
[buildroot-gz.git] / package / portmap / portmap.mk
blob5caf54cb2163cfd9d2bf84747f23ecb127af64c9
1 ################################################################################
3 # portmap
5 ################################################################################
7 PORTMAP_VERSION = 6.0
8 PORTMAP_SOURCE = portmap-$(PORTMAP_VERSION).tgz
9 PORTMAP_SITE = http://neil.brown.name/portmap
10 PORTMAP_LICENSE = BSD-4c (portmap.c) SunRPC License (portmap.c from_local.c)
11 PORTMAP_LICENSE_FILES = portmap.c from_local.c
12 PORTMAP_SBINS = portmap pmap_dump pmap_set
14 PORTMAP_FLAGS = NO_TCP_WRAPPER=1 NO_PIE=1 NO_PERROR=1
15 ifeq ($(BR2_USE_MMU),)
16 PORTMAP_FLAGS += NO_FORK=1
17 endif
19 define PORTMAP_BUILD_CMDS
20 $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(PORTMAP_FLAGS)
21 endef
23 define PORTMAP_INSTALL_TARGET_CMDS
24 for sbin in $(PORTMAP_SBINS); do \
25 $(INSTALL) -D -m 0755 $(@D)/$$sbin $(TARGET_DIR)/sbin/$$sbin || exit 1; \
26 done
27 endef
29 define PORTMAP_INSTALL_INIT_SYSV
30 $(INSTALL) -D -m 0755 package/portmap/S13portmap $(TARGET_DIR)/etc/init.d/S13portmap
31 endef
33 $(eval $(generic-package))