add experimental sane-backends package, like to get canon scanner working via saned
[openwrt.git] / openwrt / package / libcli / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=libcli
4 PKG_VERSION:=1.8.5
5 PKG_RELEASE:=1
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)
10 PKG_CAT:=zcat
11
12 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
13
14 include $(TOPDIR)/package/rules.mk
15
16 $(eval $(call PKG_template,LIBCLI,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
17
18 $(PKG_BUILD_DIR)/.configured:
19 touch $@
20
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
24 touch $@
25
26 $(IPKG_LIBCLI):
27 mkdir -p $(IDIR_LIBCLI)
28 cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_LIBCLI)/
29 $(RSTRIP) $(IDIR_LIBCLI)
30 $(IPKG_BUILD) $(IDIR_LIBCLI) $(PACKAGE_DIR)
This page took 0.038972 seconds and 5 git commands to generate.