3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=8866e9af0d3bc29e91ebb6eab89a7f1f
10 PKG_SOURCE_URL
:=@SF
/sipp
11 PKG_SOURCE
:=$(PKG_NAME
).
$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,SIPP
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
23 $(PKG_BUILD_DIR
)/.built
:
24 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
26 CC_linux
=$(TARGET_CC
) \
27 CPP_linux
=$(TARGET_CC
) \
28 CCLINK_linux
=$(TARGET_CC
) \
29 CFLAGS
="$(TARGET_CFLAGS)" \
30 CPPFLAGS_linux
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -fno-builtin -nostdinc++" \
31 LFLAGS_linux
="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
32 LIBS
="-luClibc++ -lc -lm -lgcc -lpthread -ldl -lncurses" \
33 STAGING_DIR
=$(STAGING_DIR
) \
38 mkdir
-p
$(IDIR_SIPP
)/usr
/sbin
39 $(CP
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(IDIR_SIPP
)/usr
/sbin
/
40 $(STRIP
) $(IDIR_SIPP
)/usr
/sbin
/*
41 $(IPKG_BUILD
) $(IDIR_SIPP
) $(PACKAGE_DIR
)
44 $(MAKE
) -C
$(PKG_BUILD_DIR
) clean
45 rm -f
$(PKG_BUILD_DIR
)/.built