summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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