$(INSTALL) -D -m 0755 package/acpid/S02acpid $(TARGET_DIR)/etc/init.d/S02acpid
endef
-define ACPID_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/acpid
- rm -f $(TARGET_DIR)/usr/bin/acpi_listen
- rm -f $(addprefix $(TARGET_DIR)/usr/share/man/man8/,acpid.8 acpi_listen.8)
-endef
-
define ACPID_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
prefix=/usr $(AIRCRACK_NG_MAKE_OPTS) install
endef
-define AIRCRACK_NG_UNINSTALL_TARGET_CMDS
- $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) \
- $(AIRCRACK_NG_MAKE_OPTS) uninstall
-endef
-
$(eval $(generic-package))
ALSA_LIB_CONF_ENV = CFLAGS="$(ALSA_LIB_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS) -lm"
-define ALSA_LIB_UNINSTALL_TARGET_CMDS
- -rm -f $(TARGET_DIR)/usr/lib/libasound.so*
- -rm -rf $(TARGET_DIR)/usr/lib/alsa-lib
- -rm -rf $(TARGET_DIR)/usr/share/alsa
-endef
-
-define ALSA_LIB_UNINSTALL_STAGING_CMDS
- -rm -f $(STAGING_DIR)/usr/lib/libasound.*
- -rm -rf $(STAGING_DIR)/usr/lib/alsa-lib
- -rm -rf $(STAGING_DIR)/usr/share/alsa
-endef
-
$(eval $(autotools-package))
fi
endef
-define ALSA_UTILS_UNINSTALL_TARGET_CMDS
- rm -f $(addprefix $(TARGET_DIR)/,$(ALSA_UTILS_TARGETS_) $(ALSA_UTILS_TARGETS_y))
-endef
-
$(eval $(autotools-package))
AT_POST_INSTALL_TARGET_HOOKS += AT_INSTALL_INITSCRIPT
-define AT_UNINSTALL_TARGET_CMDS
- rm -rf $(addprefix $(TARGET_DIR),/usr/lib/atspool \
- /usr/lib/atjobs \
- /etc/at.deny \
- /etc/init.d/S99at \
- /usr/bin/at \
- /usr/bin/atrm \
- /usr/bin/atq \
- /usr/sbin/atd \
- /usr/sbin/atrun)
- rm -f $(addprefix $(TARGET_DIR)/usr/man/man*/, \
- at.1 atq.1 atrm.1 batch.1 at_allow.5 at_deny.5 atd.8 atrun.8)
-endef
-
$(eval $(autotools-package))
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
endef
-define AXEL_UNINSTALL_TARGET_CMDS
- $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) uninstall
-endef
-
define AXEL_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
ln -sf bash $(TARGET_DIR)/bin/sh
endef
-# Restore the old shell file/link if there was one
-define BASH_UNINSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) \
- -C $(BASH_DIR) exec_prefix=/ uninstall
- rm -f $(TARGET_DIR)/bin/sh
- if [ -e $(TARGET_DIR)/bin/sh.prebash ]; then \
- mv -f $(TARGET_DIR)/bin/sh.prebash $(TARGET_DIR)/bin/sh; \
- fi
-endef
-
$(eval $(autotools-package))
BIND_POST_INSTALL_TARGET_HOOKS += BIND_TARGET_REMOVE_TOOLS
endif
-define BIND_UNINSTALL_TARGET_CMDS
- $(BIND_TARGET_REMOVE_SERVER)
- $(BIND_TARGET_REMOVE_TOOLS)
- rm -f $(TARGET_DIR)/etc/init.d/S81named
- rm -rf $(addprefix $(TARGET_DIR)/usr/lib/, $(BIND_TARGET_LIBS))
-endef
-
$(eval $(autotools-package))
BMON_CONF_OPT += --disable-static
endif
-define BMON_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/bmon
-endef
-
$(eval $(autotools-package))
install -D -m 644 package/boa/mime.types $(TARGET_DIR)/etc/mime.types
endef
-define BOA_UNINSTALL_STAGING_CMDS
- # autotools calls uninstall-staging even if staging install
- # isn't enabled
-endef
-
-define BOA_UNINSTALL_TARGET_CMDS
- rm -rf $(TARGET_DIR)/usr/sbin/boa \
- $(TARGET_DIR)/usr/lib/boa/ \
- $(TARGET_DIR)/etc/mime.types $(TARGET_DIR)/etc/boa
-endef
-
$(eval $(autotools-package))
install -D -m 755 $(@D)/zcav $(TARGET_DIR)/usr/sbin/zcav
endef
-define BONNIE_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/bonnie++ $(TARGET_DIR)/usr/sbin/zcav
-endef
-
$(eval $(autotools-package))
BRIDGE_UTILS_LICENSE = GPLv2+
BRIDGE_UTILS_LICENSE_FILES = COPYING
-define BRIDGE_UTILS_UNINSTALL_TARGET_CMDS
- rm -f $(addprefix $(TARGET_DIR)/usr/,lib/libbridge.a \
- include/libbridge.h share/man/man8/brctl.8 sbin/brctl)
-endef
-
$(eval $(autotools-package))
install -D -m 755 $(@D)/bspatch $(TARGET_DIR)/usr/bin/bspatch
endef
-define BSDIFF_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/bsdiff $(TARGET_DIR)/usr/bin/bspatch
-endef
-
define BSDIFF_CLEAN_CMDS
rm -f $(@D)/bsdiff $(@D)/bspatch
endef
$(BUSYBOX_INSTALL_WATCHDOG_SCRIPT)
endef
-define BUSYBOX_UNINSTALL_TARGET_CMDS
- $(BUSYBOX_MAKE_ENV) $(MAKE) $(BUSYBOX_MAKE_OPTS) -C $(@D) uninstall
-endef
-
define BUSYBOX_CLEAN_CMDS
$(BUSYBOX_MAKE_ENV) $(MAKE) $(BUSYBOX_MAKE_OPTS) -C $(@D) clean
endef
$(MAKE) -C $(@D) install LUA_DIR="$(TARGET_DIR)/usr/share/lua"
endef
-define CGILUA_UNINSTALL_TARGET_CMDS
- rm -rf "$(TARGET_DIR)/usr/share/lua/cgilua"
- rm -f "$(TARGET_DIR)/usr/share/lua/cgilua.lua"
-endef
-
$(eval $(generic-package))
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
endef
-define CHRONY_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/chronyc $(TARGET_DIR)/usr/sbin/chronyd
-endef
-
$(eval $(generic-package))
$(INSTALL) -D $(@D)/libcJSON.so $(TARGET_DIR)/usr/lib/libcJSON.so
endef
-define CJSON_UNINSTALL_STAGING_CMDS
- rm -f $(STAGING_DIR)/usr/include/cJSON.h
- rm -f $(STAGING_DIR)/usr/lib/libcJSON.so
-endef
-
-define CJSON_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/include/cJSON.h
- rm -f $(TARGET_DIR)/usr/lib/libcJSON.so
-endef
-
define CJSON_CLEAN_CMDS
rm -f $(@D)/libcJSON.so
endef
$(TARGET_DIR)/usr/share/lua/copas.lua
endef
-define COPAS_UNINSTALL_TARGET_CMDS
- rm -f "$(TARGET_DIR)/usr/share/lua/copas.lua"
-endef
-
$(eval $(generic-package))
$(TARGET_DIR)/usr/share/lua/coxpcall.lua
endef
-define COXPCALL_UNINSTALL_TARGET_CMDS
- rm -f "$(TARGET_DIR)/usr/share/lua/coxpcall.lua"
-endef
-
$(eval $(generic-package))
$(INSTALL) -m 0644 -D $(@D)/zmq.hpp $(STAGING_DIR)/usr/include/zmq.hpp
endef
-define CPPZMQ_UNINSTALL_STAGING_CMDS
- $(RM) $(STAGING_DIR)/usr/include/zmq.hpp
-endef
-
$(eval $(generic-package))
$(INSTALL) -D $(@D)/devmem2 $(TARGET_DIR)/sbin/devmem2
endef
-define DEVMEM2_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/sbin/devmem2
-endef
-
$(eval $(generic-package))
$(INSTALL) -D $(@D)/dhrystone $(TARGET_DIR)/usr/bin/dhrystone
endef
-define DHRYSTONE_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/dhrystone
-endef
-
$(eval $(generic-package))
# lib and tools race with parallel make
DMRAID_MAKE = $(MAKE1)
DMRAID_INSTALL_STAGING = YES
-DMRAID_UNINSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) remove
DMRAID_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
DMRAID_DEPENDENCIES = lvm2
DMRAID_POST_INSTALL_TARGET_HOOKS += DMRAID_INSTALL_INITSCRIPT
-define DMRAID_UNINSTALL_TARGET_CMDS
- $(MAKE) DESTDIR=$(TARGET_DIR) remove -C $(@D)/$(DMRAID_SUBDIR)
- rm -f $(TARGET_DIR)/etc/init.d/S20dmraid
-endef
-
$(eval $(autotools-package))
mkdir -p $(TARGET_DIR)/var/lib/misc/
endef
-define DNSMASQ_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/dnsmasq
- rm -f $(TARGET_DIR)/usr/share/man/man8/dnsmasq.8
-endef
-
$(eval $(generic-package))
$(TARGET_DIR)/usr/share/games/doom/doom1.wad
endef
-define DOOM_WAD_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/share/games/doom/doom1.wad
-endef
-
$(eval $(generic-package))
$(TARGET_DIR)/sbin/
endef
-define DOSFSTOOLS_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/sbin/$(FATLABEL_BINARY)
- rm -f $(TARGET_DIR)/sbin/$(FSCK_FAT_BINARY)
- rm -f $(TARGET_DIR)/sbin/$(MKFS_FAT_BINARY)
-endef
-
define DOSFSTOOLS_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
$(TARGET_DIR)/usr/bin/dropwatch
endef
-define DROPWATCH_UNINSTALL_CMDS
- rm -f $(TARGET_DIR)/usr/bin/dropwatch
-endef
-
$(eval $(generic-package))
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install
endef
-define DSP_TOOLS_UNINSTALL_TARGET_CMDS
- rm -f $(addprefix $(TARGET_DIR)/usr/bin/dsp-, load probe test exec)
-endef
-
$(eval $(generic-package))
endef
endif
-define EBTABLES_UNINSTALL_TARGET_CMDS
- rm -rf $(TARGET_DIR)/lib/ebtables
- rm -f $(TARGET_DIR)/sbin/ebtables
-endef
-
$(eval $(generic-package))
$(INSTALL) -D $(@D)/eeprog $(TARGET_DIR)/usr/bin/eeprog
endef
-define EEPROG_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/eeprog
-endef
-
$(eval $(generic-package))
$(TARGET_DIR)/var/www/excanvas.js
endef
-define EXPLORERCANVAS_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/var/www/excanvas.js
-endef
-
$(eval $(generic-package))
install -D -m 0644 $(@D)/libezxml.a $(TARGET_DIR)/usr/lib/libezxml.a
endef
-define EZXML_UNINSTALL_STAGING_CMDS
- rm -f $(STAGING_DIR)/usr/include/ezxml.h
- rm -f $(STAGING_DIR)/usr/lib/libezxml.a
-endef
-
-define EZXML_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/include/ezxml.h
- rm -f $(TARGET_DIR)/usr/lib/libezxml.a
-endef
-
define EZXML_CLEAN_CMDS
-$(MAKE) -C $(@D) -f GNUmakefile clean
endef
install -D -m 755 $(@D)/fan-ctrl $(TARGET_DIR)/usr/sbin/fan-ctrl
endef
-define FAN_CTRL_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/fan-ctrl
-endef
-
$(eval $(generic-package))
$(INSTALL) -D -m 0755 $(@D)/offset $(TARGET_DIR)/usr/bin/fb-test-offset
endef
-define FB_TEST_APP_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/fb-test-perf
- rm -f $(TARGET_DIR)/usr/bin/fb-test-rect
- rm -f $(TARGET_DIR)/usr/bin/fb-test
- rm -f $(TARGET_DIR)/usr/bin/fb-test-offset
-endef
-
define FB_TEST_APP_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef
$(INSTALL) -m 0755 -D $(@D)/fbgrab $(TARGET_DIR)/usr/bin/fbgrab
endef
-define FBGRAB_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/fbgrab
-endef
-
$(eval $(generic-package))
$(INSTALL) -D -m 755 $(@D)/fbset $(TARGET_DIR)/usr/sbin/fbset
endef
-define FBSET_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/fbset
-endef
-
define FBSET_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
$(INSTALL) -D -m 0755 $(@D)/fconfig $(TARGET_DIR)/sbin/fconfig
endef
-define FCONFIG_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/sbin/fconfig
-endef
-
define FCONFIG_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
DESTDIR=$(TARGET_DIR) -C $(@D) install
endef
-define FEH_UNINSTALL_TARGET_CMDS
- $(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) " \
- DESTDIR=$(TARGET_DIR) -C $(@D) uninstall
-endef
-
$(eval $(generic-package))
FILE_LICENSE = BSD-2c, one file BSD-4c, one file BSD-3c
FILE_LICENSE_FILES = COPYING src/mygetopt.h src/vasprintf.c
-define FILE_UNINSTALL_TARGET_CMDS
- $(MAKE) DESTDIR=$(TARGET_DIR) uninstall -C $(FILE_DIR)
- rm -f $(TARGET_DIR)/usr/lib/libmagic.*
-endef
-
$(eval $(autotools-package))
$(eval $(host-autotools-package))
$(INSTALL) -m 0755 -D $(@D)/fis $(TARGET_DIR)/sbin/fis
endef
-define FIS_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/sbin/fis
-endef
-
$(eval $(generic-package))
done
endef
-define FLOT_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/var/www/jquery.flot*
-endef
-
$(eval $(generic-package))
$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) prefix=/usr install
endef
-define GADGETFS_TEST_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/bin/gadgetfs-test
-endef
-
define GADGETFS_TEST_CLEAN_CMDS
-$(MAKE) -C $(@D) $(GADGETFS_TEST_MAKEOPTS) clean
endef
done
endef
-define GOOGLEFONTDIRECTORY_UNINSTALL_TARGET_CMDS
- rm -rf $(addprefix $(TARGET_DIR)/usr/share/fonts/,$(GOOGLEFONTDIRECTORY_FONTS))
-endef
-
$(eval $(generic-package))
done
endef
-define GPTFDISK_UNINSTALL_TARGET_CMDS
- rm -f $(addprefix $(TARGET_DIR)/usr/sbin/,$(GPTFDISK_TARGETS_y))
-endef
-
$(eval $(generic-package))
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install
endef
-define GST_DSP_UNINSTALL_TARGET_CMDS
- $(RM) $(TARGET_DIR)/usr/lib/gstreamer-0.10/libgstdsp.so
-endef
-
GST_DSP_DEPENDENCIES = gstreamer tidsp-binaries host-pkgconf
$(eval $(generic-package))
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install
endef
-define GST_OMAPFB_UNINSTALL_TARGET_CMDS
- $(RM) $(TARGET_DIR)/usr/lib/gstreamer-0.10/libgstomapfb.so
-endef
-
GST_OMAPFB_DEPENDENCIES = gstreamer
$(eval $(generic-package))
$(HDPARM_INSTALL_DOCUMENTATION)
endef
-define HDPARM_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/sbin/hdparm
- rm -f $(TARGET_DIR)/usr/share/man/man8/hdparm.8
-endef
-
define HDPARM_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
install -D -m 644 $(@D)/usb.ids $(TARGET_DIR)/usr/share/hwdata/usb.ids
endef
-define HWDATA_UNINSTALL_TARGET_CMDS
- rm -rf $(TARGET_DIR)/usr/share/hwdata
- rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
-endef
-
$(eval $(generic-package))
$(MAKE) -C $(@D) clean
endef
-define INPUT_EVENT_DAEMON_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/input-event-daemon
- rm -f $(TARGET_DIR)/etc/input-event-daemon.conf
-endef
-
$(eval $(generic-package))
done
endef
-define INPUT_TOOLS_UNINSTALL_TARGET_CMDS
- rm -f $(addprefix $(TARGET_DIR)/usr/bin/,$(INPUT_TOOLS_TARGETS_y))
-endef
-
define INPUT_TOOLS_CLEAN_CMDS
rm -f $(addprefix $(@D)/,$(INPUT_TOOLS_TARGETS_y))
endef
$(TARGET_DIR)/usr/share/man/man8/iostat.8
endef
-define IOSTAT_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/iostat
- rm -f $(TARGET_DIR)/usr/share/man/man8/iostat.8
-endef
-
$(eval $(generic-package))
IPTABLES_POST_INSTALL_TARGET_HOOKS += IPTABLES_TARGET_IPV6_REMOVE
endif
-define IPTABLES_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/iptables-xml
- rm -f $(TARGET_DIR)/usr/sbin/iptables* $(TARGET_DIR)/usr/sbin/ip6tables*
- rm -f $(TARGET_DIR)/usr/sbin/xtables-multi
- rm -rf $(TARGET_DIR)/usr/lib/xtables
-endef
-
$(eval $(autotools-package))
done
endef
-define IRDA_UTILS_UNINSTALL_TARGET_CMDS
- rm -f $(addprefix $(TARGET_DIR)/usr/sbin/,$(IRDA_UTILS_SBINS-))
-endef
-
$(eval $(generic-package))
$(IW_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
endef
-define IW_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/iw
- rm -f $(TARGET_DIR)/usr/share/man/man8/iw.8*
-endef
-
$(eval $(generic-package))
$(TARGET_DIR)/var/www/jquery.sparkline.js
endef
-define JQUERY_SPARKLINE_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/var/www/jquery.sparkline.js
-endef
-
$(eval $(generic-package))
chmod 0644 $(TARGET_DIR)/var/www/images/*.png
endef
-define JQUERY_UI_THEMES_UNINSTALL_TARGET_CMDS
- $(RM) $(TARGET_DIR)/var/www/jquery-ui.css
-endef
-
$(eval $(generic-package))
chmod 0644 $(TARGET_DIR)/var/www/images/*.png
endef
-define JQUERY_UI_UNINSTALL_TARGET_CMDS
- $(RM) $(addprefix $(TARGET_DIR)/var/www/,\
- jquery-ui.js jquery-ui-i18n.js jquery-ui.css)
-endef
-
$(eval $(generic-package))
$(TARGET_DIR)/var/www/jquery.validate.js
endef
-define JQUERY_VALIDATION_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/var/www/jquery.validate.js
-endef
-
$(eval $(generic-package))
$(TARGET_DIR)/var/www/jquery.js
endef
-define JQUERY_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/var/www/jquery.js
-endef
-
$(eval $(generic-package))
$(INSTALL) -m 0755 -D $(@D)/jsmin $(TARGET_DIR)/usr/bin/jsmin
endef
-define JSMIN_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/jsmin
-endef
-
define HOST_JSMIN_BUILD_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) jsmin
endef
$(INSTALL) -m 0644 -D $(@D)/json2.js $(TARGET_DIR)/var/www/json2.js
endef
-define JSON_JAVASCRIPT_UNINSTALL_TARGET_CMDS
- $(RM) $(TARGET_DIR)/var/www/json2.js
-endef
-
$(eval $(generic-package))
$(KISMET_INSTALL_TARGET_CONFIGS)
endef
-ifdef KISMET_TARGET_BINARIES
-define KISMET_UNINSTALL_TARGET_BINARIES
- rm -f $(addprefix $(TARGET_DIR)/usr/bin/, $(KISMET_TARGET_BINARIES))
-endef
-endif
-
-ifdef KISMET_TARGET_CONFIGS
-define KISMET_UNINSTALL_TARGET_CONFIGS
- rm -f $(addprefix $(TARGET_DIR)/etc/, $(KISMET_TARGET_CONFIGS))
-endef
-endif
-
-define KISMET_UNINSTALL_TARGET_CMDS
- $(KISMET_UNINSTALL_TARGET_BINARIES)
- $(KISMET_UNINSTALL_TARGET_CONFIGS)
-endef
-
$(eval $(autotools-package))
$(TARGET_DIR)/usr/lib/lua/base64.so
endef
-define LBASE64_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/lib/lua/base64.so
-endef
-
define LBASE64_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef
DESTDIR="$(TARGET_DIR)" install
endef
-define LCDAPI_UNINSTALL_STAGING_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
- DESTDIR="$(STAGING_DIR)" uninstall
-endef
-
-define LCDAPI_UNINSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
- DESTDIR="$(TARGET_DIR)" uninstall
-endef
-
define LCDAPI_CLEAN_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) clean
endef
$(INSTALL) -m 0755 $(@D)/less $(TARGET_DIR)/usr/bin/less
endef
-define LESS_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/less
-endef
-
$(eval $(autotools-package))
LIBIDN_POST_INSTALL_TARGET_HOOKS += LIBIDN_REMOVE_EMACS_STUFF
-define LIBIDN_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/lib/libidn*
- rm -f $(TARGET_DIR)/usr/bin/idn
-endef
-
$(eval $(autotools-package))
$(LIBJSON_MAKE_OPT) prefix=$(TARGET_DIR)/usr install -C $(@D)
endef
-define LIBJSON_UNINSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
- $(LIBJSON_MAKE_OPT) prefix=$(TARGET_DIR)/usr uninstall -C $(@D)
-endef
-
define LIBJSON_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
$(LIBJSON_MAKE_OPT) prefix=$(STAGING_DIR)/usr install -C $(@D)
endef
-define LIBJSON_UNINSTALL_STAGING_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
- $(LIBJSON_MAKE_OPT) prefix=$(STAGING_DIR)/usr uninstall -C $(@D)
-endef
-
define LIBJSON_CLEAN_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) $(LIBJSON_MAKE_OPT) \
clean -C $(@D)
$(MAKE) DESTDIR=$(TARGET_DIR)/usr/ -C $(@D) install
endef
-define LIBROXML_UNINSTALL_STAGING_CMDS
- $(MAKE) DESTDIR=$(STAGING_DIR) -C $(@D) uninstall
-endef
-
-define LIBROXML_UNINSTALL_TARGET_CMDS
- $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) uninstall
-endef
-
define LIBROXML_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
$(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) install
endef
-define LIBSVGTINY_UNINSTALL_STAGING_CMDS
- $(TARGET_CONFIGURE_OPTS) \
- $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) uninstall
-endef
-
define LIBSVGTINY_INSTALL_TARGET_CMDS
$(TARGET_CONFIGURE_OPTS) \
$(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) install
endef
-define LIBSVGTINY_UNINSTALL_TARGET_CMDS
- $(TARGET_CONFIGURE_OPTS) \
- $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) uninstall
-endef
-
define LIBSVGTINY_CLEAN_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) clean
endef
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/lighttpd.service
endef
-define LIGHTTPD_UNINSTALL_TARGET_CMDS
- $(RM) $(TARGET_DIR)/usr/sbin/lighttpd
- $(RM) $(TARGET_DIR)/usr/sbin/lighttpd-angel
- $(RM) -r $(TARGET_DIR)/usr/lib/lighttpd
-endef
-
$(eval $(autotools-package))
$(INSTALL) -m 755 -D $(@D)/linenoise_example $(STAGING_DIR)/usr/bin/linenoise_example
endef
-define LINENOISE_UNINSTALL_STAGING_CMDS
- rm -f $(STAGING_DIR)/usr/include/linenoise.h
- rm -f $(STAGING_DIR)/usr/lib/liblinenoise.a
- rm -f $(STAGING_DIR)/usr/bin/linenoise_example
-endef
-
define LINENOISE_INSTALL_TARGET_CMDS
$(INSTALL) -m 644 -D $(@D)/linenoise.h $(TARGET_DIR)/usr/include/linenoise.h
$(INSTALL) -m 644 -D $(@D)/liblinenoise.a $(TARGET_DIR)/usr/lib/liblinenoise.a
$(INSTALL) -m 755 -D $(@D)/linenoise_example $(TARGET_DIR)/usr/bin/linenoise_example
endef
-define LINENOISE_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/include/linenoise.h
- rm -f $(TARGET_DIR)/usr/lib/liblinenoise.a
- rm -f $(TARGET_DIR)/usr/bin/linenoise_example
-endef
-
define LINENOISE_CLEAN_CMDS
rm -f $(@D)/*.o $(@D)/*.a $(@D)/linenoise_example
endef
cp -dpf package/linux-fusion/40-fusion.rules $(LINUX_FUSION_ETC_DIR)
endef
-define LINUX_FUSION_UNINSTALL_STAGING_CMDS
- rm -f $(STAGING_DIR)/usr/include/linux/fusion.h
-endef
-
-define LINUX_FUSION_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/include/linux/fusion.h
- rm -rf $(TARGET_DIR)/lib/modules/$(LINUX_FOR_FUSION)/kernel/drivers/char/fusion
- rm -f $(LINUX_FUSION_ETC_DIR)/40-fusion.rules
-endef
-
$(eval $(generic-package))
done
endef
-define LIVE555_UNINSTALL_STAGING_CMDS
- rm -rf $(STAGING_DIR)/usr/include/live
- for i in $(LIVE555_LIBS_TO_INSTALL); do \
- rm -f $(addprefix $(STAGING_DIR)/usr/lib/, `basename $$i`); \
- done
-endef
-
-define LIVE555_UNINSTALL_TARGET_CMDS
- for i in $(LIVE555_FILES_TO_INSTALL-); do \
- rm -f $(addprefix $(TARGET_DIR)/usr/bin/, `basename $$i`); \
- done
-endef
-
$(eval $(generic-package))
rm -f $(addprefix $(STAGING_DIR)/usr/,$(LM_SENSORS_BINS_) $(LM_SENSORS_BINS_y))
endef
-define LM_SENSORS_UNINSTALL_STAGING_CMDS
- $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) uninstall
-endef
-
define LM_SENSORS_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) install
rm -f $(addprefix $(TARGET_DIR)/usr/,$(LM_SENSORS_BINS_))
endef
-define LM_SENSORS_UNINSTALL_TARGET_CMDS
- $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) uninstall
-endef
-
define LM_SENSORS_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
done
endef
-define LOCKFILE_PROGS_UNINSTALL_TARGET_CMDS
- rm -f $(addprefix $(TARGET_DIR)/usr/bin/,$(LOCKFILE_BINS))
-endef
-
define LOCKFILE_PROGS_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
$(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/logrotate.d
endef
-define LOGROTATE_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/logrotate
- rm -f $(TARGET_DIR)/etc/logrotate.conf
- rm -f $(TARGET_DIR)/usr/man/man5/logrotate.conf.5
- rm -f $(TARGET_DIR)/usr/man/man8/logrotate.8
- rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/etc/logrotate.d
-endef
-
define LOGROTATE_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
install -D -m 755 $(@D)/lsof $(TARGET_DIR)/bin/lsof
endef
-define LSOF_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/bin/lsof
-endef
-
define LSOF_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
$(INSTALL) -m 755 -D $(@D)/msgpack.so $(TARGET_DIR)/usr/lib/lua/msgpack.so
endef
-define LUA_MSGPACK_NATIVE_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/lib/lua/msgpack.so
-endef
-
define LUA_MSGPACK_NATIVE_CLEAN_CMDS
rm -f $(@D)/msgpack.so
endef
/usr/lib/liblua.a \
/usr/lib/liblua.so*
-define LUA_UNINSTALL_STAGING_CMDS
- for i in $(LUA_INSTALLED_FILES); do \
- rm -f $(STAGING_DIR)$$i; \
- done
-endef
-
-define LUA_UNINSTALL_TARGET_CMDS
- for i in $(LUA_INSTALLED_FILES); do \
- rm -f $(TARGET_DIR)$$i; \
- done
-endef
-
-define HOST_LUA_UNINSTALL_TARGET_CMDS
- for i in $(LUA_INSTALLED_FILES); do \
- rm -f $(HOST_DIR)$$i; \
- done
-endef
-
define LUA_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
$(MAKE) -C $(@D) clean
endef
-define LUACJSON_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/lib/lua/cjson.so
-endef
-
$(eval $(generic-package))
$(INSTALL) -D -m 0644 $(@D)/src/lxp/lom.lua $(TARGET_DIR)/usr/share/lua/lxp/lom.lua
endef
-define LUAEXPAT_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/lib/lua/lxp.so
- rm -f $(TARGET_DIR)/usr/share/lua/lxp/lom.lua
-endef
-
define LUAEXPAT_CLEAN_CMDS
$(MAKE) -C $(@D) $(LUAEXPAT_MFLAGS) clean
endef
$(TARGET_DIR)/usr/share/lua/lxp/doc.lua
endef
-define LUAEXPATUTILS_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/share/lua/lxp/doc.lua
-endef
-
$(eval $(generic-package))
$(INSTALL) -D $(@D)/src/lfs.so $(TARGET_DIR)/usr/lib/lua/lfs.so
endef
-define LUAFILESYSTEM_UNINSTALL_TARGET_CMDS
- rm -f "$(TARGET_DIR)/usr/lib/lua/lfs.so"
-endef
-
define LUAFILESYSTEM_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef
$(MAKE) PREFIX="/usr" DESTDIR="$(TARGET_DIR)" -C $(@D) install
endef
-define LUAJIT_UNINSTALL_STAGING_CMDS
- $(MAKE) PREFIX="/usr" DESTDIR="$(STAGING_DIR)" -C $(@D) uninstall
-endef
-
-define LUAJIT_UNINSTALL_TARGET_CMDS
- $(MAKE) PREFIX="/usr" DESTDIR="$(TARGET_DIR)" -C $(@D) uninstall
-endef
-
define LUAJIT_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
LUACPATH="$(TARGET_DIR)/usr/lib/lua" install
endef
-define LUASEC_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/lib/lua/ssl.so
- rm -rf $(TARGET_DIR)/usr/share/lua/ssl
- rm -f $(TARGET_DIR)/usr/share/lua/ssl.lua
-endef
-
$(eval $(generic-package))
INSTALL_TOP_LIB="$(TARGET_DIR)/usr/lib/lua" install
endef
-define LUASOCKET_UNINSTALL_TARGET_CMDS
- rm -rf "$(TARGET_DIR)/usr/lib/lua/mime"
- rm -rf "$(TARGET_DIR)/usr/lib/lua/socket"
- rm -rf "$(TARGET_DIR)/usr/share/lua/socket"
- rm -f "$(TARGET_DIR)/usr/share/lua/socket.lua"
- rm -f "$(TARGET_DIR)/usr/share/lua/mime.lua"
- rm -f "$(TARGET_DIR)/usr/share/lua/ltn12.lua"
-endef
-
define LUASOCKET_CLEAN_CMDS
$(MAKE) -C $(@D) -f makefile clean
endef
LUA_LIBDIR="$(TARGET_DIR)/usr/lib/lua" install
endef
-define LUASQL_UNINSTALL_TARGET_CMDS
- rm -rf $(TARGET_DIR)/usr/lib/lua/luasql
-endef
-
$(eval $(generic-package))
LVM2_CONF_OPT += --disable-applib
endif
-define LVM2_UNINSTALL_STAGING_CMDS
- rm -f $(addprefix $(STAGING_DIR)/usr/sbin/,$(LVM2_BINS))
- rm -f $(addprefix $(STAGING_DIR)/usr/lib/,libdevmapper.so*)
-endef
-
-define LVM2_UNINSTALL_TARGET_CMDS
- rm -f $(addprefix $(TARGET_DIR)/usr/sbin/,$(LVM2_BINS))
- rm -f $(addprefix $(TARGET_DIR)/usr/lib/,libdevmapper.so*)
-endef
-
$(eval $(autotools-package))
install -D -m 755 $(@D)/makedevs $(TARGET_DIR)/usr/sbin/makedevs
endef
-define MAKEDEVS_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/makedevs
-endef
-
-
define HOST_MAKEDEVS_BUILD_CMDS
$(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \
package/makedevs/makedevs.c -o $(@D)/makedevs
MDADM_INSTALL_TARGET_OPT = \
DESTDIR=$(TARGET_DIR)/usr -C $(MDADM_DIR) install-mdadm
-MDADM_UNINSTALL_TARGET_OPT = \
- DESTDIR=$(TARGET_DIR)/usr -C $(MDADM_DIR) uninstall
-
define MDADM_CONFIGURE_CMDS
# Do nothing
endef
$(INSTALL) -D $(@D)/memstat $(TARGET_DIR)/usr/bin/memstat
endef
-define MEMSTAT_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/etc/memstat.conf
- rm -f $(TARGET_DIR)/usr/bin/memstat
-endef
-
$(eval $(generic-package))
$(MAKE) $(MEMTESTER_TARGET_INSTALL_OPTS) -C $(@D) install
endef
-define MEMTESTER_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/memtester
-endef
-
define MEMTESTER_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install-mii-diag
endef
-define MII_DIAG_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/mii-diag
-endef
-
define MII_DIAG_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef
-C $(@D) DESTDIR=$(TARGET_DIR) install
endef
-define MINIDLNA_UNINSTALL_TARGET_CMDS
- $(RM) $(TARGET_DIR)/usr/sbin/minidlna
-endef
-
define MINIDLNA_CLEAN_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) clean
endef
PREFIX=/usr DESTDIR=$(TARGET_DIR) install
endef
-define MONGREL2_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/mongrel2
- rm -f $(TARGET_DIR)/usr/bin/m2sh
- rm -f $(TARGET_DIR)/usr/bin/procer
-endef
-
$(eval $(generic-package))
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
endef
-define MPLAYER_UNINSTALL_TARGET_CMDS
- $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) uninstall
-endef
-
define MPLAYER_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef
$(MAKE) prefix=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
endef
-define MROUTED_UNINSTALL_TARGET_CMDS
- $(MAKE) prefix=/usr DESTDIR=$(TARGET_DIR) -C $(@D) uninstall
-endef
-
define MROUTED_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef
MXML_INSTALL_STAGING_OPT = DSTROOT=$(STAGING_DIR) install
MXML_INSTALL_TARGET_OPT = DSTROOT=$(TARGET_DIR) install
-MXML_UNINSTALL_STAGING_OPT = DSTROOT=$(STAGING_DIR) uninstall
-MXML_UNINSTALL_TARGET_OPT = DSTROOT=$(TARGET_DIR) uninstall
$(eval $(autotools-package))
$(INSTALL) -m 0755 $(@D)/src/nano $(TARGET_DIR)/usr/bin/nano
endef
-define NANO_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/nano
-endef
-
$(eval $(autotools-package))
$(INSTALL) -m 0755 -D $(@D)/nanocom $(TARGET_DIR)/usr/bin/nanocom
endef
-define NANOCOM_UNINSTALL_TARGET_CMDS
- $(RM) $(TARGET_DIR)/usr/bin/nanocom
-endef
-
$(eval $(generic-package))
$(NCFTP_INSTALL_NCFTP_BATCH)
endef
-define NCFTP_UNINSTALL_TARGET_CMDS
- rm -f $(addprefix $(TARGET_DIR)/usr/bin/, $(NCFTP_TARGET_BINS) ncftpspooler)
-endef
-
$(eval $(autotools-package))
$(TARGET_DIR)/etc/init.d/S53neard
endef
-define NEARD_UNINSTALL_INIT_SYSV
- $(RM) $(TARGET_DIR)/etc/init.d/S53neard
-endef
-
$(eval $(autotools-package))
$(TARGET_DIR)/usr/bin/netserver
endef
-define NETPERF_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/netperf
- rm -f $(TARGET_DIR)/usr/bin/netserver
-endef
-
$(eval $(autotools-package))
$(TARGET_DIR)/etc/init.d/S29netplug
endef
-define NETPLUG_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/sbin/netplugd
- rm -rf $(TARGET_DIR)/etc/netplug*
- rm -f $(TARGET_DIR)/etc/init.d/S29netplug
-endef
-
define NETPLUG_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
$(NETSNMP_REMOVE_MIBS_IPV6)
endef
-define NETSNMP_UNINSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
- DESTDIR=$(TARGET_DIR) uninstall
- rm -f $(TARGET_DIR)/etc/init.d/S59snmpd
- rm -f $(TARGET_DIR)/usr/lib/libnetsnmp*
-endef
-
define NETSNMP_STAGING_NETSNMP_CONFIG_FIXUP
$(SED) "s,^includedir=.*,includedir=\'$(STAGING_DIR)/usr/include\',g" \
-e "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" \
$(INSTALL) -m 0755 -D $(@D)/noip2 $(TARGET_DIR)/usr/sbin/noip2
endef
-define NOIP_UNINSTALL_TARGET_CMDS
- rm -f "$(TARGET_DIR)/usr/sbin/noip2"
-endef
-
define NOIP_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef
fi
endef
-define NTP_UNINSTALL_TARGET_CMDS
- rm $(TARGET_DIR)/usr/sbin/ntpd
- rm -f $(addprefix $(TARGET_DIR)/usr/bin/,$(NTP_INSTALL_FILES_y))
- rm $(TARGET_DIR)/etc/init.d/S49ntp
- rm $(TARGET_DIR)/etc/default/ntpd
-endef
-
NTP_POST_PATCH_HOOKS += NTP_PATCH_FIXUPS
$(eval $(autotools-package))
$(TARGET_DIR)/usr/bin/nuttcp
endef
-define NUTTCP_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/nuttcp
-endef
-
$(eval $(generic-package))
OPENNTPD_LICENSE = MIT-like, BSD-2c, BSD-3c
OPENNTPD_LICENSE_FILES = LICENCE
-define OPENNTPD_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/ntpd
- rm -f $(TARGET_DIR)/etc/ntpd.conf
- rm -f $(TARGET_DIR)/usr/share/man/man?/ntpd*
-endef
-
$(eval $(autotools-package))
OPENSSL_POST_INSTALL_TARGET_HOOKS += OPENSSL_REMOVE_OPENSSL_ENGINES
endif
-define OPENSSL_UNINSTALL_CMDS
- rm -rf $(addprefix $(TARGET_DIR)/,etc/ssl usr/bin/openssl usr/include/openssl)
- rm -rf $(addprefix $(TARGET_DIR)/usr/lib/,ssl engines libcrypto* libssl* pkgconfig/libcrypto.pc)
- rm -rf $(addprefix $(STAGING_DIR)/,etc/ssl usr/bin/openssl usr/include/openssl)
- rm -rf $(addprefix $(STAGING_DIR)/usr/lib/,ssl engines libcrypto* libssl* pkgconfig/libcrypto.pc)
-endef
-
$(eval $(generic-package))
$(eval $(host-generic-package))
$(TARGET_DIR)/etc/init.d/S60openvpn
endef
-define OPENVPN_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/openvpn
- rm -f $(TARGET_DIR)/etc/init.d/S60openvpn
-endef
-
$(eval $(autotools-package))
$(INSTALL) -m 755 $(@D)/libopagent/.libs/*.so* $(TARGET_DIR)/usr/lib/oprofile
endef
-define OPROFILE_UNINSTALL_TARGET_CMDS
- rm -f $(addprefix $(TARGET_DIR)/usr/bin/, $(notdir $(OPROFILE_BINARIES)))
- rm -f $(TARGET_DIR)/usr/bin/opcontrol
- rm -rf $(TARGET_DIR)/usr/share/oprofile
- rm -rf $(TARGET_DIR)/usr/lib/oprofile
-endef
-
$(eval $(autotools-package))
PHP_POST_INSTALL_TARGET_HOOKS += PHP_INSTALL_FIXUP
-define PHP_UNINSTALL_STAGING_CMDS
- rm -rf $(STAGING_DIR)/usr/include/php
- rm -rf $(STAGING_DIR)/usr/lib/php
- rm -f $(STAGING_DIR)/usr/bin/php*
- rm -f $(STAGING_DIR)/usr/share/man/man1/php*.1
-endef
-
-define PHP_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/etc/php.ini
- rm -f $(TARGET_DIR)/usr/bin/php*
-endef
-
PHP_CONF_ENV += CFLAGS="$(PHP_CFLAGS)"
$(eval $(autotools-package))
$(TARGET_DIR)/etc/init.d
endef
-define PORTMAP_UNINSTALL_TARGET_CMDS
- rm -f $(addprefix $(TARGET_DIR)/sbin/,$(PORTMAP_SBINS))
- rm -f $(addprefix $(TARGET_DIR)/usr/share/man/man8/, \
- $(addsuffix .8,$(PORTMAP_SBINS)))
-endef
-
$(eval $(generic-package))
-C $(@D) $(PPPD_MAKE_OPT)
endef
-define PPPD_UNINSTALL_TARGET_CMDS
- rm -f $(addprefix $(TARGET_DIR)/usr/sbin/, $(PPPD_TARGET_BINS))
- rm -f $(TARGET_DIR)/usr/sbin/pppoe-discovery
- rm -rf $(TARGET_DIR)/usr/lib/pppd
- rm -rf $(TARGET_DIR)/etc/ppp/radius
- for m in $(PPPD_MANPAGES); do \
- rm -f $(TARGET_DIR)/usr/share/man/man8/$$m.8; \
- done
- for m in $(PPPD_RADIUS_MANPAGES); do \
- rm -f $(TARGET_DIR)/usr/share/man/man8/$$m.8; \
- done
-endef
-
ifeq ($(BR2_PACKAGE_PPPD_RADIUS),y)
define PPPD_INSTALL_RADIUS
$(INSTALL) -D $(PPPD_DIR)/pppd/plugins/radius/radattr.so \
$(INSTALL) -m 0644 -D $(@D)/pptp.8 $(TARGET_DIR)/usr/share/man/man8/pptp.8
endef
-define PPTP_LINUX_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/pptp
- rm -f $(TARGET_DIR)/usr/share/man/man8/pptp.8
-endef
-
$(eval $(generic-package))
$(INSTALL) -m 0755 package/proftpd/S50proftpd $(TARGET_DIR)/etc/init.d
endef
-define PROFTPD_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/$(PROFTPD_TARGET_BINARY)
- rm -f $(TARGET_DIR)/etc/init.d/S50proftpd
- rm -f $(TARGET_DIR)/etc/proftpd.conf
-endef
-
$(eval $(autotools-package))
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
endef
-define PYTHON_NFC_UNINSTALL_TARGET_CMDS
- $(RM) -r $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/nfc/
-endef
-
$(eval $(generic-package))
$(PYTHON_PYGAME_REMOVE_DOC)
endef
-define PYTHON_PYGAME_UNINSTALL_TARGET_CMDS
- rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pygame*
-endef
-
$(eval $(generic-package))
-$(MAKE) -C $(@D) clean
endef
-define QT_UNINSTALL_TARGET_CMDS
- -rm -rf $(TARGET_DIR)/usr/lib/fonts
- -rm $(TARGET_DIR)/usr/lib/libQt*.so.*
- -rm $(TARGET_DIR)/usr/lib/libphonon.so.*
-endef
-
$(eval $(generic-package))
$(STAGING_DIR)/usr/include/rapidjson/internal
endef
-define RAPIDJSON_UNINSTALL_STAGING_CMDS
- $(RM) -r $(STAGING_DIR)/usr/include/rapidjson
-endef
-
$(eval $(generic-package))
LUA_DIR="$(TARGET_DIR)/usr/share/lua" install
endef
-define RINGS_UNINSTALL_TARGET_CMDS
- rm -f "$(TARGET_DIR)/usr/lib/lua/rings.so"
- rm -f "$(TARGET_DIR)/usr/share/lua/stable.lua"
-endef
-
define RINGS_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef
done
endef
-define RP_PPPOE_UNINSTALL_TARGET_CMDS
- for ff in $(RP_PPPOE_TARGET_FILES); do \
- rm -f $(TARGET_DIR)/usr/sbin/$$ff; \
- done
- for ff in $(RP_PPPOE_TARGET_FILES); do \
- rm -f $(TARGET_DIR)/usr/share/man/man8/$$ff.8; \
- done
-endef
-
$(eval $(autotools-package))
RRDTOOL_POST_INSTALL_TARGET_HOOKS += RRDTOOL_REMOVE_EXAMPLES
-define RRDTOOL_UNINSTALL_TARGET_CMDS
- $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) uninstall
- rm -rf $(TARGET_DIR)/usr/share/rrdtool
- rm -f $(TARGET_DIR)/usr/lib/librrd*
-endef
-
$(eval $(autotools-package))
$(if $(rsh-redone-sbin-y),install-sbin))
endef
-define RSH_REDONE_UNINSTALL_TARGET_CMDS
- rm -f \
- $(addprefix $(TARGET_DIR)/usr/bin/,$(rsh-redone-bin-y)) \
- $(addprefix $(TARGET_DIR)/usr/sbin/,$(rsh-redone-sbin-y))
-endef
-
$(eval $(generic-package))
installlibs installservers installbin installscripts \
$(if $(BR2_PACKAGE_SAMBA_SWAT),installswat)
-SAMBA_UNINSTALL_TARGET_OPT = \
- DESTDIR=$(TARGET_DIR) -C $(SAMBA_DIR)/$(SAMBA_SUBDIR) \
- uninstalllibs uninstallservers uninstallbin uninstallscripts \
- $(if $(BR2_PACKAGE_SAMBA_SWAT),uninstallswat)
-
# binaries to keep
SAMBA_BINTARGETS_y = \
usr/sbin/smbd \
$(INSTALL) -m 0644 -D $$i $(STAGING_DIR)/usr/include/$$i; done
endef
-define SCHIFRA_UNINSTALL_TARGET_CMDS
- $(RM) $(TARGET_DIR)/usr/include/schifra_*.hpp
- $(RM) $(TARGET_DIR)/usr/bin/schifra_*
-endef
-
-define SCHIFRA_UNINSTALL_STAGING_CMDS
- $(RM) $(STAGING_DIR)/usr/include/schifra_*.hpp
-endef
-
define SCHIFRA_CLEAN_CMDS
$(MAKE) -C $(@D) $(SCHIFRA_MAKE_OPT) clean
endef
SDL_SOUND_POST_INSTALL_TARGET_HOOKS += SDL_SOUND_REMOVE_PLAYSOUND
endif
-# target shared libs doesn't get removed by make uninstall if the .la
-# files are removed
-define SDL_SOUND_UNINSTALL_TARGET_CMDS
- $(MAKE) DESTDIR=$(TARGET_DIR) uninstall -C $(@D)
- rm -f $(TARGET_DIR)/usr/lib/libSDL_sound*so*
-endef
-
$(eval $(autotools-package))
(cd $(TARGET_DIR)/usr/lib; ln -fs libslang.so libslang.so.1)
endef
-define SLANG_UNINSTALL_STAGING_CMDS
- rm -f $(STAGING_DIR)/usr/lib/libslang.a
- rm -f $(STAGING_DIR)/usr/lib/libslang.so
- rm -f $(STAGING_DIR)/usr/lib/libslang.so.1
- rm -f $(STAGING_DIR)/usr/include/slang.h
- rm -f $(STAGING_DIR)/usr/include/slcurses.h
-endef
-
-define SLANG_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/lib/libslang.a
- rm -f $(TARGET_DIR)/usr/lib/libslang.so
- rm -f $(TARGET_DIR)/usr/lib/libslang.so.1
- rm -f $(TARGET_DIR)/usr/include/slang.h
- rm -f $(TARGET_DIR)/usr/include/slcurses.h
-endef
-
define SLANG_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef
$(MAKE) -C $(@D) CC="$(TARGET_CC) $(TARGET_CFLAGS)" DESTDIR=$(TARGET_DIR) install
endef
-define SNOWBALL_HDMISERVICE_UNINSTALL_STAGING_CMDS
- rm -f $(STAGING_DIR)/usr/lib/hdmiservice.so
- rm -f $(STAGING_DIR)/usr/bin/hdmistart
- rm -f $(STAGING_DIR)/usr/include/hdmi_service_api.h
- rm -f $(STAGING_DIR)/usr/include/hdmi_service_local.h
-endef
-
-define SNOWBALL_HDMISERVICE_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/lib/hdmiservice.so
- rm -f $(TARGET_DIR)/usr/bin/hdmistart
-endef
-
define SNOWBALL_HDMISERVICE_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef
done
endef
-define SOUND_THEME_BOREALIS_UNINSTALL_TARGET_CMDS
- $(RM) -r $(TARGET_DIR)/usr/share/sounds/borealis
-endef
-
$(eval $(generic-package))
SQLCIPHER_CONF_OPT += --disable-readline
endif
-define SQLCIPHER_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/sqlite3
- rm -f $(TARGET_DIR)/usr/lib/libsqlite3*
- rm -f $(TARGET_DIR)/usr/lib/pkgconfig/sqlite3.pc
- rm -f $(TARGET_DIR)/usr/include/sqlite3*.h
-endef
-
-define SQLCIPHER_UNINSTALL_STAGING_CMDS
- rm -f $(STAGING_DIR)/usr/bin/sqlite3
- rm -f $(STAGING_DIR)/usr/lib/libsqlite3*
- rm -f $(STAGING_DIR)/usr/lib/pkgconfig/sqlite3.pc
- rm -f $(STAGING_DIR)/usr/include/sqlite3*.h
-endef
-
$(eval $(autotools-package))
SQLITE_CONF_OPT += --disable-readline
endif
-define SQLITE_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/sqlite3
- rm -f $(TARGET_DIR)/usr/lib/libsqlite3*
-endef
-
-define SQLITE_UNINSTALL_STAGING_CMDS
- rm -f $(STAGING_DIR)/usr/bin/sqlite3
- rm -f $(STAGING_DIR)/usr/lib/libsqlite3*
- rm -f $(STAGING_DIR)/usr/lib/pkgconfig/sqlite3.pc
- rm -f $(STAGING_DIR)/usr/include/sqlite3*.h
-endef
-
$(eval $(autotools-package))
$(INSTALL) -D -m 0755 $(@D)/sredird $(TARGET_DIR)/usr/sbin/sredird
endef
-define SREDIRD_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/sredird
-endef
-
define SREDIRD_CLEAN_CMDS
rm -f $(@D)/sredird
endef
$(INSTALL) -D $(@D)/sstrip $(TARGET_DIR)/usr/bin/sstrip
endef
-define SSTRIP_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/sstrip
-endef
-
define HOST_SSTRIP_BUILD_CMDS
cd $(@D) ; \
$(HOSTCC) $(HOST_CFLAGS) -include endian.h -include byteswap.h \
$(INSTALL) -D $(@D)/sstrip $(HOST_DIR)/usr/bin/$(HOST_SSTRIP_BINARY)
endef
-define HOST_SSTRIP_UNINSTALL_CMDS
- rm -f $(HOST_DIR)/usr/bin/$(HOST_SSTRIP_BINARY)
-endef
-
$(eval $(generic-package))
$(eval $(host-generic-package))
echo "pidfile=/var/run/thttpd.pid" >> $(TARGET_DIR)/var/www/thttpd_config
endef
-define THTTPD_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/thttpd
- rm -f $(TARGET_DIR)/usr/sbin/thttpd_wrapper
- rm -rf $(TARGET_DIR)/var/www
- rm -f $(TARGET_DIR)/etc/init.d/S90thttpd
- rm -f $(TARGET_DIR)/usr/bin/htpasswd
- rm -f $(TARGET_DIR)/usr/bin/makeweb
- rm -f $(TARGET_DIR)/usr/bin/syslogtocern
-endef
-
$(eval $(autotools-package))
cp -r $(@D)/ini_files $(TARGET_DIR)/usr/share/ti-utils
endef
-define TI_UTILS_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/calibrator
- rm -fr $(TARGET_DIR)/usr/share/ti-utils
-endef
-
$(eval $(generic-package))
$(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install
endef
-define TIDSP_BINARIES_UNINSTALL_TARGET_CMDS
- $(RM) -r $(TARGET_DIR)/lib/dsp
-endef
-
$(eval $(generic-package))
TN5250_POST_INSTALL_TARGET_HOOKS += TN5250_INSTALL_FIXES
-define TN5250_UNINSTALL_TARGET_CMDS
- $(MAKE) DESTDIR=$(TARGET_DIR) uninstall -C $(TN5250_DIR)
- rm -f $(TARGET_DIR)/usr/lib/lib5250.*
- rm -rf $(TARGET_DIR)/usr/share/tn5250
-endef
-
$(eval $(autotools-package))
$(UBOOT_TOOLS_INSTALL_FWPRINTENV)
endef
-define UBOOT_TOOLS_UNINSTALL_TARGET_CMDS
- rm -f $(addprefix $(TARGET_DIR)/,\
- usr/bin/mkimage usr/sbin/fw_printenv usr/sbin/fw_setenv)
-endef
-
define HOST_UBOOT_TOOLS_BUILD_CMDS
$(MAKE1) -C $(@D) \
HOSTCC="$(HOSTCC)" \
$(INSTALL) -m 0755 -D $(@D)/em $(TARGET_DIR)/usr/bin/em
endef
-define UEMACS_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/em
-endef
-
$(eval $(generic-package))
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) clean
endef
-define USB_MODESWITCH_UNINSTALL_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) uninstall
-endef
-
$(eval $(generic-package))
mkdir -p $(addprefix $(TARGET_DIR)/media/usb,0 1 2 3 4 5 6 7)
endef
-define USBMOUNT_UNINSTALL_TARGET_CMDS
- rm -rf $(TARGET_DIR)/etc/usbmount \
- $(TARGET_DIR)/usr/share/usbmount/usbmount \
- $(TARGET_DIR)/lib/udev/rules.d/usbmount.rules \
- $(TARGET_DIR)/media/usb?
-endef
-
$(eval $(generic-package))
install -d -m 700 $(TARGET_DIR)/usr/share/empty
endef
-define VSFTPD_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/vsftpd
- rm -f $(TARGET_DIR)/usr/share/man/man8/vsftpd.8
- rm -f $(TARGET_DIR)/usr/share/man/man5/vsftpd.conf.5
- rm -f $(TARGET_DIR)/etc/init.d/S70vsftpd
-endef
-
define VSFTPD_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
$(INSTALL) -D $(@D)/whetstone $(TARGET_DIR)/usr/bin/whetstone
endef
-define WHETSTONE_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/whetstone
-endef
-
$(eval $(generic-package))
$(INSTALL) -D $(@D)/wipe.1 $(TARGET_DIR)/usr/share/man/man1/wipe.1
endef
-define WIPE_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/wipe
- rm -f $(TARGET_DIR)/usr/share/man/man1/wipe.1
-endef
-
$(eval $(autotools-package))
$(MAKE) -C $(@D) INSTALL_MAN="$(TARGET_DIR)/usr/share/man" install-man
endef
-define WIRELESS_TOOLS_UNINSTALL_TARGET_CMDS
- $(MAKE) -C $(@D) PREFIX="$(TARGET_DIR)" uninstall
-endef
-
$(eval $(generic-package))
$(TARGET_DIR)/usr/share/lua/wsapi
endef
-define WSAPI_UNINSTALL_TARGET_CMDS
- rm -rf "$(TARGET_DIR)/usr/share/lua/wsapi"
-endef
-
$(eval $(generic-package))
install -C $(@D)
endef
-define WVDIAL_UNINSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(WVDIAL_MAKE_ENV) $(WVDIAL_MAKE) \
- prefix="$(TARGET_DIR)/usr" PPPDIR="$(TARGET_DIR)/etc/ppp/peers" \
- uninstall -C $(@D)
-endef
-
define WVDIAL_CLEAN_CMDS
$(TARGET_MAKE_ENV) $(WVDIAL_MAKE_ENV) $(WVDIAL_MAKE) clean -C $(@D)
endef
LUA_LIBDIR="$(TARGET_DIR)/usr/lib/lua" install
endef
-define XAVANTE_UNINSTALL_TARGET_CMDS
- rm -rf "$(TARGET_DIR)/usr/share/xavante"
- rm -f "$(TARGET_DIR)/usr/share/xavante.lua"
- rm -f "$(TARGET_DIR)/usr/share/sajax.lua"
-endef
-
$(eval $(generic-package))
INSTALL_GROUP=root
XFSPROGS_INSTALL_TARGET_OPT = DIST_ROOT=$(TARGET_DIR) install
-XFSPROGS_UNINSTALL_TARGET_OPT = DIST_ROOT=$(TARGET_DIR) uninstall
$(eval $(autotools-package))
-$(MAKE1) -C $(@D) clean
endef
-define ZLIB_UNINSTALL_STAGING_CMDS
- $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) uninstall
-endef
-
-define ZLIB_UNINSTALL_TARGET_CMDS
- $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) uninstall
-endef
-
-define HOST_ZLIB_UNINSTALL_TARGET_CMDS
- $(MAKE1) -C $(@D) uninstall
-endef
-
$(eval $(generic-package))
$(eval $(host-generic-package))
$(ZMQPP_MAKE_OPT) DESTDIR=$(TARGET_DIR) install -C $(@D)
endef
-define ZMQPP_UNINSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
- $(ZMQPP_MAKE_OPT) DESTDIR=$(TARGET_DIR) uninstall -C $(@D)
- $(RM) $(TARGET_DIR)/usr/include/zmqpp
-endef
-
define ZMQPP_INSTALL_STAGING_CMDS
$(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/include/zmqpp
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
$(ZMQPP_MAKE_OPT) DESTDIR=$(STAGING_DIR) install -C $(@D)
endef
-define ZMQPP_UNINSTALL_STAGING_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
- $(ZMQPP_MAKE_OPT) DESTDIR=$(STAGING_DIR) uninstall -C $(@D)
- $(RM) $(STAGING_DIR)/usr/include/zmqpp
-endef
-
define ZMQPP_CLEAN_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) $(ZMQPP_MAKE_OPT) \
clean -C $(@D)
$(MAKE) -C $(@D)/cpp/core/src DESTDIR=$(STAGING_DIR) install
endef
-define ZXING_UNINSTALL_STAGING_CMDS
- $(MAKE) -C $(@D)/cpp/core/src DESTDIR=$(STAGING_DIR) uninstall
-endef
-
define ZXING_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D)/cpp/core/src DESTDIR=$(TARGET_DIR) install
endef
-define ZXING_UNINSTALL_TARGET_CMDS
- $(MAKE) -C $(@D)/cpp/core/src DESTDIR=$(TARGET_DIR) uninstall
-endef
-
$(eval $(generic-package))