1 # $Id: Makefile 3112 2006-02-01 23:53:19Z mbm $
3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=bf89c31d7cb51a267a8d5ac388e0508d
10 PKG_SOURCE_URL
:=http
://www.rit.edu
/~reh5586
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,VNCREPEATER
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
24 $(PKG_BUILD_DIR
)/.built
:
25 rm -rf
$(PKG_INSTALL_DIR
)
26 mkdir
-p
$(PKG_INSTALL_DIR
)
27 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
29 CFLAGS
="$(TARGET_CFLAGS)" \
30 DESTDIR
="$(PKG_INSTALL_DIR)" \
35 install -d
-m0755
$(IDIR_VNCREPEATER
)/usr
/sbin
$(IDIR_VNCREPEATER
)/etc
36 $(CP
) $(PKG_BUILD_DIR
)/repeater
$(IDIR_VNCREPEATER
)/usr
/sbin
/$(PKG_NAME
)
37 $(CP
) $(PKG_BUILD_DIR
)/u
$(PKG_NAME
).ini
$(IDIR_VNCREPEATER
)/etc
/
38 $(RSTRIP
) $(IDIR_VNCREPEATER
)
39 $(IPKG_BUILD
) $(IDIR_VNCREPEATER
) $(PACKAGE_DIR
)