python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / usbmount / usbmount.mk
blob066cbb828a3442037ab36d7e50d929d47f254865
1 ################################################################################
3 # usbmount
5 ################################################################################
7 USBMOUNT_VERSION = 0.0.22
8 USBMOUNT_SOURCE = usbmount_$(USBMOUNT_VERSION).tar.gz
9 USBMOUNT_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/u/usbmount
10 USBMOUNT_DEPENDENCIES = udev lockfile-progs
11 USBMOUNT_LICENSE = BSD-2c
12 USBMOUNT_LICENSE_FILES = debian/copyright
14 define USBMOUNT_INSTALL_TARGET_CMDS
15 $(INSTALL) -m 0755 -D $(@D)/usbmount $(TARGET_DIR)/usr/share/usbmount/usbmount
17 $(INSTALL) -m 0755 -D $(@D)/00_create_model_symlink \
18 $(TARGET_DIR)/etc/usbmount/mount.d/00_create_model_symlink
19 $(INSTALL) -m 0755 -D $(@D)/00_remove_model_symlink \
20 $(TARGET_DIR)/etc/usbmount/umount.d/00_remove_model_symlink
22 $(INSTALL) -m 0644 -D $(@D)/usbmount.rules $(TARGET_DIR)/lib/udev/rules.d/usbmount.rules
23 $(INSTALL) -m 0644 -D $(@D)/usbmount.conf $(TARGET_DIR)/etc/usbmount/usbmount.conf
25 mkdir -p $(addprefix $(TARGET_DIR)/media/usb,0 1 2 3 4 5 6 7)
26 endef
28 $(eval $(generic-package))