cc12c934cc57f15335b075d3a00762c0f68c0841
[openwrt.git] / openwrt / package / cifsmount / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=cifsmount
6 PKG_VERSION:=1.5
7 PKG_RELEASE:=1
8
9 PKG_BUILD_DIR:=$(BUILD_DIR)/cifsmount
10 PKG_IPK_DIR:=$(PKG_BUILD_DIR)
11 PKG_IPK:=$(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk
12
13 $(PKG_BUILD_DIR)/sbin/mount.cifs:
14 mkdir -p $(PKG_BUILD_DIR)/sbin
15 $(CC) -o $(PKG_BUILD_DIR)/sbin/mount.cifs mount.cifs.c
16
17 $(PKG_IPK): $(PKG_BUILD_DIR)/sbin/mount.cifs
18 $(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) $(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
19 $(IPKG_BUILD) $(PKG_IPK_DIR) $(PACKAGE_DIR)
20
21 source:
22 prepare:
23 compile: $(PKG_IPK)
24 install:
25 $(IPKG) install $(PKG_IPK)
26 clean:
27 rm -rf $(PKG_BUILD_DIR)
This page took 0.035355 seconds and 3 git commands to generate.