Revert "libiconv symbol was removed"
[openadk.git] / package / cups / Makefile
blob0868965622465aca99113062c24670bb91baeecb
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= cups
7 PKG_VERSION:= 1.7.1
8 PKG_RELEASE:= 4
9 PKG_HASH:= f52bec893d9daf92b6029be79c07e6c516b4c85ffae3e6e01885cc85e9081681
10 PKG_DESCR:= common unix printing system
11 PKG_SECTION:= net/misc
12 PKG_DEPENDS:= zlib
13 PKG_BUILDDEP:= cups-host zlib
14 PKG_NEEDS:= threads c++
15 PKG_URL:= http://www.cups.org/
16 PKG_SITES:= http://www.cups.org/software/${PKG_VERSION}/
17 PKG_OPTS:= dev
18 PKG_NOPARALLEL:= 1
20 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-source.tar.bz2
22 include ${ADK_TOPDIR}/mk/host.mk
23 include ${ADK_TOPDIR}/mk/package.mk
25 $(eval $(call HOST_template,CUPS,cups,${PKG_VERSION}-${PKG_RELEASE}))
26 $(eval $(call PKG_template,CUPS,cups,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
28 ifeq ($(ADK_TARGET_LIBICONV),y)
29 TARGET_LDFLAGS+= -liconv
30 endif
32 ifneq ($(ADK_HOST_LINUX),y)
33 HOST_LINUX_ONLY:= 1
34 endif
36 HOST_CONFIGURE_ARGS+= --disable-tcp-wrappers \
37 --disable-webif \
38 --disable-gssapi \
39 --disable-avahi \
40 --disable-pam \
41 --disable-dbus \
42 --without-java \
43 --without-perl \
44 --without-python \
45 --without-php \
46 --disable-gnutls \
47 --disable-openssl \
48 --disable-cdsassl \
49 --disable-dbus \
50 --disable-ssl \
51 --with-components=core \
52 --with-rcdir=$(STAGING_HOST_DIR)/etc
53 CONFIGURE_ENV+= ac_cv_func_sigset=no \
54 OPTIM='-fPIC -std=c89' LSB_BUILD=y
56 CONFIGURE_ARGS+= --with-cups-user=cups \
57 --with-cups-group=cups \
58 --libdir=/usr/lib \
59 --disable-static \
60 --disable-avahi \
61 --disable-webif \
62 --disable-tcp-wrappers \
63 --disable-gssapi \
64 --disable-pam \
65 --disable-dbus \
66 --without-java \
67 --without-perl \
68 --without-python \
69 --without-php \
70 --disable-gnutls \
71 --disable-openssl \
72 --disable-cdsassl \
73 --disable-dbus \
74 --disable-ssl \
75 --with-components=core \
76 --with-rcdir=$(STAGING_TARGET_DIR)/etc
78 FAKE_FLAGS+= DSTROOT="${WRKINST}" STRIP="/bin/true"
80 cups-install:
81 ${INSTALL_DIR} ${IDIR_CUPS}/usr/lib
82 ${CP} ${WRKINST}/usr/lib/libcups*.so* ${IDIR_CUPS}/usr/lib/
84 include ${ADK_TOPDIR}/mk/host-bottom.mk
85 include ${ADK_TOPDIR}/mk/pkg-bottom.mk