3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=3ebd3618ba9abfea2525e236bd44cebd
10 PKG_SOURCE_URL
:=@SF
/sentrytools
11 PKG_SOURCE
:=$(PKG_NAME
)-1.2.
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)_beta
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,PORTSENTRY
,portsentry
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.built
:
21 $(MAKE
) -C
$(PKG_BUILD_DIR
) linux
25 mkdir
-p
$(IDIR_PORTSENTRY
)/usr
/bin
26 mkdir
-p
$(IDIR_PORTSENTRY
)/etc
27 cp
$(PKG_BUILD_DIR
)/$(PKG_NAME
).conf
$(IDIR_PORTSENTRY
)/etc
/
28 cp
$(PKG_BUILD_DIR
)/$(PKG_NAME
) $(IDIR_PORTSENTRY
)/usr
/bin
/
29 $(STRIP
) $(IDIR_PORTSENTRY
)/usr
/bin
/*
30 $(IPKG_BUILD
) $(IDIR_PORTSENTRY
) $(PACKAGE_DIR
)
33 $(MAKE
) -C
$(PKG_BUILD_DIR
) clean
34 rm -f
$(PKG_BUILD_DIR
)/.built