1 # $Id: Makefile 2745 2005-12-21 09:50:28Z florian $
3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=50093db9b64277643969ee75b83ebbd1
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
)
14 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,CUTTER
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
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
/
29 mkdir
-p
$(IDIR_CUTTER
)
30 cp
-fpR
$(PKG_INSTALL_DIR
)/* $(IDIR_CUTTER
)/
31 $(RSTRIP
) $(IDIR_CUTTER
)/
32 $(IPKG_BUILD
) $(IDIR_CUTTER
) $(PACKAGE_DIR
)