OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
Line 8... | Line 8... | |||
8 | include $(TOPDIR)/rules.mk |
8 | include $(TOPDIR)/rules.mk |
|
9 | |
9 | |
|
10 | PKG_NAME:=libusb |
10 | PKG_NAME:=libusb |
|
Line 11... | Line 11... | |||
11 | PKG_VERSION:=1.0.22 |
11 | PKG_VERSION:=1.0.22 |
|
12 | PKG_RELEASE:=2 |
12 | PKG_RELEASE:=1 |
|
13 | |
13 | |
|
14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
|
Line 29... | Line 29... | |||
29 | SECTION:=libs |
29 | SECTION:=libs |
|
30 | CATEGORY:=Libraries |
30 | CATEGORY:=Libraries |
|
31 | TITLE:=A library for accessing Linux USB devices |
31 | TITLE:=A library for accessing Linux USB devices |
|
32 | DEPENDS:=+libpthread +librt |
32 | DEPENDS:=+libpthread +librt |
|
33 | URL:=http://libusb.info/ |
33 | URL:=http://libusb.info/ |
|
34 | ABI_VERSION:=0 |
- | ||
35 | endef |
34 | endef |
|
Line 36... | Line 35... | |||
36 | |
35 | |
|
37 | define Package/libusb-1.0/description |
36 | define Package/libusb-1.0/description |
|
38 | libusb is a C library that gives applications easy access to USB devices on |
37 | libusb is a C library that gives applications easy access to USB devices on |
|
Line 48... | Line 47... | |||
48 | $(CP) $(PKG_INSTALL_DIR)/* $(1)/ |
47 | $(CP) $(PKG_INSTALL_DIR)/* $(1)/ |
|
49 | endef |
48 | endef |
|
Line 50... | Line 49... | |||
50 | |
49 | |
|
51 | define Package/libusb-1.0/install |
50 | define Package/libusb-1.0/install |
|
52 | $(INSTALL_DIR) $(1)/usr/lib |
51 | $(INSTALL_DIR) $(1)/usr/lib |
|
53 | $(CP) $(PKG_INSTALL_DIR)/usr/lib/libusb*.so.* $(1)/usr/lib/ |
52 | $(CP) $(PKG_INSTALL_DIR)/usr/lib/libusb*.so* $(1)/usr/lib/ |
|
Line 54... | Line 53... | |||
54 | endef |
53 | endef |