source: freewrt/package/cifsmount/Makefile@ ed2dd9f

freewrt_1_0 freewrt_2_0
Last change on this file since ed2dd9f was ed2dd9f, checked in by Thorsten Glaser <tg@…>, 19 years ago

instead of setting WRKBUILD, set WRKSRC and let WRKBUILD?=WRKSRC like mirports
(WRKSRC isn't used anywhere though)

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

  • Property mode set to 100644
File size: 691 bytes
Line 
1# $Id: Makefile 2387 2005-11-07 18:12:11Z nbd $
2
3include $(TOPDIR)/rules.mk
4
5PKG_NAME:=cifsmount
6PKG_VERSION:=1.5
7PKG_RELEASE:=2
8
9WRKSRC:=${WRKDIR}/cifsmount
10
11DISTFILES:=
12include $(TOPDIR)/package/rules.mk
13
14$(eval $(call PKG_template,CIFSMOUNT,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
15
16$(WRKBUILD)/.prepared:
17 mkdir -p $(WRKBUILD)
18 touch $@
19
20$(WRKBUILD)/.configured:
21 touch $@
22
23$(WRKBUILD)/.built:
24 $(TARGET_CC) $(TARGET_CFLAGS) -o $(WRKBUILD)/mount.cifs mount.cifs.c
25 touch $@
26
27$(IPKG_CIFSMOUNT):
28 install -d -m0755 $(IDIR_CIFSMOUNT)/sbin
29 install -m0755 $(WRKBUILD)/mount.cifs $(IDIR_CIFSMOUNT)/sbin/
30 $(RSTRIP) $(IDIR_CIFSMOUNT)
31 $(IPKG_BUILD) $(IDIR_CIFSMOUNT) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.