-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
I've now got this working satisfactorily - revised Makefile attached On 21/09/12 19:10, Daniel Pocock wrote: > > > > This is another dependency for reSIProcate (actually, for the TURN > server component). It is also popular for boost users. > > I've tried to create a Makefile, but asio.hpp and the other > asio/*.hpp files never get installed to staging_dir. Can anyone > identify what I have missed? > > Please note this package doesn't provide binary artifacts, just > C++ headers > > I've put the file in trunk/package/asio/Makefile > > I've been using these commands to build: > > make V=s -j12 package/asio/compile && \ make V=s -j12 > package/asio/install > > > If I type > > find . -name asio.hpp > > I don't see it in the staging_dir > > > > > > _______________________________________________ openwrt-devel > mailing list openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCAAGBQJQXOY9AAoJEOm1uwJp1aqD/GAQAK60rSgdf70HYLBaExZCNw5j aGqhvbI/ZiUoQpEzYL+e2/fua12GDshtg+maLFzsIaLXWWny0iTiUx2XcYuZ/yCm sdinKge7DFRM3cVTcHNUcl74gwkQ8/Qm/CQs20Ii/5yvr8T0gp8Vlc/7oXZoNyS2 YCJNSn2+75GRT6k64S+XxZSPyc+DBYvhrVuc8DDODM/umP2//pdHGMTqwzupt8jS pzAZtaZ9Av91xA3g7Z7oQiXOwVxwJcsCAH9luAxOr0BZMAQnWNCfQqlAmHmYpLky eatsrnwyrs2VZa+OBEIlWyGd2FXRAWRNDvyXk1EKhSkJRGxz/l29qSrF01PnH2Ve vUhvCl//UoJeu6mnCZZW88z92gzedbDDOZhctRRks75ZQHl5OMBXEY5dIQtY2IWj Zhqix2Yx5Q39IXT1h0fI7VzkS+sVnDMVkcbyQ/h4TlnIe2PHDdv6mq9Y4g5xPuw1 3CA2303BE2zF0DWAEc9/E+ucGKBPun/HneBqZJHWw3RQB+Pk3X+AetA18TOxf9Oa HfjbRfpyjnlwmWN1XAbg1o1I8GQNq1ySb6jhHwGtKd7V9bBj4snj0qGu8WV+nTDw 9wIegHRWLc2Rca4KE0phvwCGPuzVJzqE2JIaLbsOvB9/jYkkiMPr7KpLrdlpoRBx bjRVZS8GzZoBO2ekBfEX =M2s9 -----END PGP SIGNATURE-----
# # Copyright (C) 2012 OpenWrt.org # Copyright (C) 2012 Daniel Pocock <dan...@pocock.com.au> # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # include $(TOPDIR)/rules.mk PKG_NAME:=asio PKG_VERSION:=1.4.8 PKG_RELEASE:=1 PKG_BUILD_DIR:=$(BUILD_DIR)/asio-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/asio PKG_MD5SUM:=0e2ebaa1e5569e415908c8d0ede95044 #PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk #TARGET_CFLAGS += $(FPIC) define Package/libasio SECTION:=libs CATEGORY:=Libraries DEFAULT:=m TITLE:=libasio URL:=http://think-async.com/ DEPENDS:=+boost endef define Package/libasio/description Async IO library endef define Build/Configure $(call Build/Configure/Default, --enable-maintainer-mode ) endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR)/include endef define Package/libasio/install $(MAKE) DESTDIR=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR)/include install endef define Build/InstallDev $(MAKE) DESTDIR=$(1) -C $(PKG_BUILD_DIR)/include install # $(INSTALL_DIR) $(1)/usr/include/asio # $(CP) $(PKG_INSTALL_DIR)/usr/include/asio.hpp $(1)/usr/include/ # $(CP) $(PKG_BUILD_DIR)/usr/include/asio/* $(1)/usr/include/asio/ endef $(eval $(call BuildPackage,libasio))
Makefile.sig
Description: PGP signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel