3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=8e4d20e7f7fad26d7447483c68894ace
10 PKG_SOURCE_URL
:=http
://www.fastpath.it
/products
/palantir
/pub
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 export CPPFLAGS
=-I
$(STAGING_DIR
)/usr
/include -I
$(STAGING_DIR
)/include
18 export LDFLAGS
=-L
$(STAGING_DIR
)/usr
/lib
-L
$(STAGING_DIR
)/lib
20 include $(TOPDIR
)/package
/rules.mk
22 $(eval
$(call PKG_template
,PALANTIR
,palantir
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
24 $(PKG_BUILD_DIR
)/.configured
:
27 $(PKG_BUILD_DIR
)/.built
: $(PKG_BUILD_DIR
)/.configured
28 rm -rf
$(PKG_INSTALL_DIR
)
29 mkdir
-p
$(PKG_INSTALL_DIR
)/usr
30 $(MAKE
) -C
$(PKG_BUILD_DIR
)/server
/libgsm \
31 $(TARGET_CONFIGURE_OPTS
) \
32 CCINC
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
34 $(MAKE
) -C
$(PKG_BUILD_DIR
)/server \
35 $(TARGET_CONFIGURE_OPTS
) \
36 CFLAGS
="-Wall -D_REENTRANT $(TARGET_CFLAGS)" \
41 install -d
-m0755
$(IDIR_PALANTIR
)/etc
42 install -m0644
$(PKG_BUILD_DIR
)/server
/palantir-mips.conf.sample
$(IDIR_PALANTIR
)/etc
/palantir.conf
43 install -d
-m0755
$(IDIR_PALANTIR
)/usr
/sbin
44 install -m0755
$(PKG_BUILD_DIR
)/server
/palantir
$(IDIR_PALANTIR
)/usr
/sbin
/
45 $(RSTRIP
) $(IDIR_PALANTIR
)
46 $(IPKG_BUILD
) $(IDIR_PALANTIR
) $(PACKAGE_DIR
)