[packages] fswebcam: don't build on 2.4
authorNicolas Thill <nico@openwrt.org>
Fri, 16 Jul 2010 02:33:29 +0000 (02:33 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 16 Jul 2010 02:33:29 +0000 (02:33 +0000)
 * uses Video 4 Linux 2, only available on 2.6

SVN-Revision: 22225

multimedia/fswebcam/Makefile

index c73495d..3ff3253 100644 (file)
@@ -11,22 +11,20 @@ PKG_NAME:=fswebcam
 PKG_VERSION:=20100405
 PKG_RELEASE:=1
 
-PKG_INSTALL=1
-
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.firestorm.cx/fswebcam/files/
 PKG_MD5SUM:=1ca864c8cef096fb4ace71cf14085424
 
-include $(INCLUDE_DIR)/package.mk
+PKG_INSTALL:=1
 
-PKG_BUILD_DEPENDS:=libgd
+include $(INCLUDE_DIR)/package.mk
 
 define Package/fswebcam
   SECTION:=multimedia
   CATEGORY:=Multimedia
   TITLE:=fswebcam
   URL:=http://www.firestorm.cx/fswebcam/
-  DEPENDS:=+libgd
+  DEPENDS:= @!LINUX_2_4 +libgd
 endef
 
 define Package/fswebcam/description