Convert pptpd to new packaging style
[openwrt.git] / package / cifsmount / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=cifsmount
6 PKG_VERSION:=1.5
7 PKG_RELEASE:=2
8
9 PKG_BUILD_DIR:=$(BUILD_DIR)/cifsmount
10
11 include $(TOPDIR)/package/rules.mk
12
13 $(eval $(call PKG_template,CIFSMOUNT,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
14
15 $(PKG_BUILD_DIR)/.prepared:
16 mkdir -p $@
17
18 $(PKG_BUILD_DIR)/.built:
19 $(TARGET_CC) -o $(PKG_BUILD_DIR)/mount.cifs mount.cifs.c
20 $(STRIP) $(PKG_BUILD_DIR)/mount.cifs
21 touch $@
22
23 $(IPKG_CIFSMOUNT):
24 mkdir -p $(IDIR_CIFSMOUNT)/sbin
25 install -m 0755 $(PKG_BUILD_DIR)/mount.cifs $(IDIR_CIFSMOUNT)/sbin/mount.cifs
26 $(IPKG_BUILD) $(IDIR_CIFSMOUNT) $(PACKAGE_DIR)
This page took 0.043715 seconds and 5 git commands to generate.