diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-03-23 10:54:24 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-03-23 10:54:24 (GMT) |
commit | a4226be0af77ee2ff0fe6cd1937a19e1df56b127 (patch) | |
tree | 00f05e970e448ffb33bd3ef6fd64497583fd98e6 /src/pcl.mk | |
parent | d470d17d9c42ba161c2ac653308d8be2475d9fff (diff) | |
download | mxe-a4226be0af77ee2ff0fe6cd1937a19e1df56b127.zip mxe-a4226be0af77ee2ff0fe6cd1937a19e1df56b127.tar.gz mxe-a4226be0af77ee2ff0fe6cd1937a19e1df56b127.tar.bz2 |
package pcl: add update macro
Diffstat (limited to 'src/pcl.mk')
-rw-r--r-- | src/pcl.mk | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -10,8 +10,10 @@ $(PKG)_URL := http://www.pointclouds.org/assets/files/$($(PKG)_VERSION)/$($ $(PKG)_DEPS := gcc libgomp boost eigen flann vtk define $(PKG)_UPDATE - echo 'TODO: write update script for $(PKG).' >&2; - echo $($(PKG)_VERSION) + $(WGET) -q -O- "http://www.pointclouds.org/downloads/" | \ + grep '<a href=.*tar' | \ + $(SED) -n 's,.*PCL-\([0-9][^>]*\)-Source.*,\1,p' | \ + head -1 endef # There is a strange problem where including <cfloat> leads to an error |