move sysfs to mount_root
[openwrt.git] / package / cutter / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=cutter
6 PKG_VERSION:=1.03
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=50093db9b64277643969ee75b83ebbd1
9
10 PKG_SOURCE_URL:=http://www.lowth.com/cutter/software/
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
12 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
13 PKG_CAT:=zcat
14 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,CUTTER,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(PKG_BUILD_DIR)/.configured:
21 touch $@
22
23 $(PKG_BUILD_DIR)/.built:
24 $(TARGET_CC) $(PKG_BUILD_DIR)/cutter.c -o $(PKG_BUILD_DIR)/cutter
25 install -d -m0755 $(PKG_INSTALL_DIR)/usr/sbin
26 install -m0755 $(PKG_BUILD_DIR)/cutter $(PKG_INSTALL_DIR)/usr/sbin/
27
28 $(IPKG_CUTTER):
29 mkdir -p $(IDIR_CUTTER)
30 cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_CUTTER)/
31 $(RSTRIP) $(IDIR_CUTTER)/
32 $(IPKG_BUILD) $(IDIR_CUTTER) $(PACKAGE_DIR)
This page took 0.040671 seconds and 5 git commands to generate.