source: freewrt/package/cutter/Makefile@ aae7eb1

freewrt_1_0 freewrt_2_0
Last change on this file since aae7eb1 was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent

git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100755
File size: 925 bytes
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= cutter
10PKG_VERSION:= 1.03
11PKG_RELEASE:= 1
12PKG_MD5SUM:= 50093db9b64277643969ee75b83ebbd1
13
14PKG_SOURCE_URL:= http://www.lowth.com/cutter/software/
15PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tgz
16
17include $(TOPDIR)/mk/package.mk
18
19$(eval $(call PKG_template,CUTTER,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21$(WRKBUILD)/.configured:
22 touch $@
23
24$(WRKBUILD)/.built:
25 $(TARGET_CC) $(WRKBUILD)/cutter.c -o $(WRKBUILD)/cutter
26 install -d -m0755 $(WRKINST)/usr/sbin
27 install -m0755 $(WRKBUILD)/cutter $(WRKINST)/usr/sbin/
28 touch $@
29
30$(IPKG_CUTTER):
31 mkdir -p $(IDIR_CUTTER)
32 $(CP) $(WRKINST)/* $(IDIR_CUTTER)/
33 $(RSTRIP) $(IDIR_CUTTER)/
34 $(IPKG_BUILD) $(IDIR_CUTTER) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.