1 include $(TOPDIR
)/rules.mk
6 PKG_MD5SUM
:=0fdd30df5a8c1388a4549751ba61247a
7 PKG_SOURCE_URL
:=@SF
/libcli
8 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
9 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
12 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
14 include $(TOPDIR
)/package
/rules.mk
16 $(eval
$(call PKG_template
,LIBCLI
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
18 $(PKG_BUILD_DIR
)/.configured
:
21 $(PKG_BUILD_DIR
)/.built
:
22 $(MAKE
) CC
=$(TARGET_CC
) LD
=$(TARGET_CC
) DESTDIR
=$(STAGING_DIR
) -C
$(PKG_BUILD_DIR
) install
23 $(MAKE
) CC
=$(TARGET_CC
) LD
=$(TARGET_CC
) DESTDIR
=$(PKG_INSTALL_DIR
) -C
$(PKG_BUILD_DIR
) install
27 mkdir
-p
$(IDIR_LIBCLI
)
28 cp
-fpR
$(PKG_INSTALL_DIR
)/* $(IDIR_LIBCLI
)/
29 $(RSTRIP
) $(IDIR_LIBCLI
)
30 $(IPKG_BUILD
) $(IDIR_LIBCLI
) $(PACKAGE_DIR
)