summaryrefslogtreecommitdiffstats
path: root/openwrt/package/cutter/Makefile
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-23 12:23:15 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-23 12:23:15 +0000
commit655d6b3b1b0831c0dd7b60e447a1ac5526e811f1 (patch)
tree5f0a4c5b934567e49a125967f257d8d8485222c2 /openwrt/package/cutter/Makefile
parent4649ab20e8393873bfe7c2f88eccd6fd775827ae (diff)
Added cutter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2750 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/cutter/Makefile')
-rwxr-xr-xopenwrt/package/cutter/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/openwrt/package/cutter/Makefile b/openwrt/package/cutter/Makefile
new file mode 100755
index 000000000..c9cf5d77f
--- /dev/null
+++ b/openwrt/package/cutter/Makefile
@@ -0,0 +1,32 @@
+# $Id: Makefile 2745 2005-12-21 09:50:28Z florian $
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=cutter
+PKG_VERSION:=1.03
+PKG_RELEASE:=1
+PKG_MD5SUM:=50093db9b64277643969ee75b83ebbd1
+
+PKG_SOURCE_URL:=http://www.lowth.com/cutter/software/
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_CAT:=gzcat
+PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+
+include $(TOPDIR)/package/rules.mk
+
+$(eval $(call PKG_template,CUTTER,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+$(PKG_BUILD_DIR)/.configured:
+ touch $@
+
+$(PKG_BUILD_DIR)/.built:
+ $(TARGET_CC) $(PKG_BUILD_DIR)/cutter.c -o $(PKG_BUILD_DIR)/cutter
+ install -d -m0755 $(PKG_INSTALL_DIR)/usr/sbin
+ install -m0755 $(PKG_BUILD_DIR)/cutter $(PKG_INSTALL_DIR)/usr/sbin/
+
+$(IPKG_CUTTER):
+ mkdir -p $(IDIR_CUTTER)
+ cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_CUTTER)/
+ $(RSTRIP) $(IDIR_CUTTER)/
+ $(IPKG_BUILD) $(IDIR_CUTTER) $(PACKAGE_DIR)