install in /usr instead of /usr/local/,
[openwrt.git] / package / vnc-reflector / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=vnc-reflector
4 PKG_VERSION:=1.2.4
5 PKG_RELEASE:=1
6 PKG_MD5SUM:=
7 PKG_SOURCE_URL:=@SF/vnc-reflector
8 PKG_SOURCE:=vnc_reflector-$(PKG_VERSION).tar.gz
9 PKG_BUILD_DIR:=$(BUILD_DIR)/vnc_reflector
10 PKG_CAT:=zcat
11
12 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
13
14 include $(TOPDIR)/package/rules.mk
15
16 $(eval $(call PKG_template,VNC_REFLECTOR,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
17
18 $(PKG_BUILD_DIR)/.configured:
19 touch $@
20
21 $(PKG_BUILD_DIR)/.built:
22 $(MAKE) STAGING_DIR=$(STAGING_DIR) CC=$(TARGET_CC) -C $(PKG_BUILD_DIR)
23 install -d $(PKG_INSTALL_DIR)/usr/sbin
24 install -m0755 $(PKG_BUILD_DIR)/vncreflector $(PKG_INSTALL_DIR)/usr/sbin/
25 touch $@
26
27 $(IPKG_VNC_REFLECTOR):
28 mkdir -p $(IDIR_VNC_REFLECTOR)
29 cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_VNC_REFLECTOR)/
30 $(RSTRIP) $(IDIR_VNC_REFLECTOR)
31 $(IPKG_BUILD) $(IDIR_VNC_REFLECTOR) $(PACKAGE_DIR)
This page took 0.039542 seconds and 5 git commands to generate.