summaryrefslogtreecommitdiffstats
path: root/src/pcl.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-03-23 10:54:24 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-03-23 10:54:24 (GMT)
commita4226be0af77ee2ff0fe6cd1937a19e1df56b127 (patch)
tree00f05e970e448ffb33bd3ef6fd64497583fd98e6 /src/pcl.mk
parentd470d17d9c42ba161c2ac653308d8be2475d9fff (diff)
downloadmxe-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.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pcl.mk b/src/pcl.mk
index 42a8052..16ef2d6 100644
--- a/src/pcl.mk
+++ b/src/pcl.mk
@@ -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