[packages] ink: indent with tabs (closes: #5115), remove unneeded variables
authorNicolas Thill <nico@openwrt.org>
Wed, 13 May 2009 12:58:48 +0000 (12:58 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 13 May 2009 12:58:48 +0000 (12:58 +0000)
SVN-Revision: 15823

utils/ink/Makefile

index 5ebf619..6cde14a 100644 (file)
@@ -13,11 +13,6 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/ink
 PKG_MD5SUM:=ddbbc4164384fc7185bc07b7602e4a8d
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
-PKG_BUILD_DEPENDS:=libinklevel
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/ink
@@ -30,22 +25,20 @@ endef
 
 TARGET_CFLAGS += -linklevel
 
-
 define Build/Compile
-        $(MAKE) -C $(PKG_BUILD_DIR) \
-                CC="$(TARGET_CC)" \
-                CFLAGS="$(TARGET_CFLAGS)" \
-                CPPFLAGS="$(TARGET_CPPFLAGS)" \
-                LDFLAGS="$(TARGET_LDFLAGS)" \
-                LIBS="$(TARGET_LIBS)" \
-                DESTDIR="$(PKG_INSTALL_DIR)" \
-                all install
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               CC="$(TARGET_CC)" \
+               CFLAGS="$(TARGET_CFLAGS)" \
+               CPPFLAGS="$(TARGET_CPPFLAGS)" \
+               LDFLAGS="$(TARGET_LDFLAGS)" \
+               LIBS="$(TARGET_LIBS)" \
+               DESTDIR="$(PKG_INSTALL_DIR)" \
+               all install
 endef
 
-
 define Package/ink/install
-       $(INSTALL_DIR) $(1)/bin
-       $(CP) $(PKG_INSTALL_DIR)/usr/local/bin/ink $(1)/bin/
+       $(INSTALL_DIR) $(1)/bin
+       $(CP) $(PKG_INSTALL_DIR)/usr/local/bin/ink $(1)/bin/
 endef
 
 $(eval $(call BuildPackage,ink))