From a4226be0af77ee2ff0fe6cd1937a19e1df56b127 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sat, 23 Mar 2013 21:54:24 +1100 Subject: package pcl: add update macro --- src/pcl.mk | 6 ++++-- 1 file 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 ']*\)-Source.*,\1,p' | \ + head -1 endef # There is a strange problem where including leads to an error -- cgit v0.12