alsa-lib: allow to build for noMMU targets, patches from Buildroot
[openadk.git] / package / libcroco / Makefile
blob378057e305d1a5605269636442d25876df2b9128
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:= libcroco
7 PKG_VERSION:= 0.6.11
8 PKG_RELEASE:= 1
9 PKG_HASH:= 132b528a948586b0dfa05d7e9e059901bca5a3be675b6071a90a90b81ae5a056
10 PKG_DESCR:= css2 parsing and manipulation library
11 PKG_SECTION:= libs/misc
12 PKG_URL:= https://github.com/GNOME/libcroco
13 PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/
14 PKG_OPTS:= dev
16 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
18 include $(ADK_TOPDIR)/mk/host.mk
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call HOST_template,LIBCROCO,libcroco,$(PKG_VERSION)-${PKG_RELEASE}))
22 $(eval $(call PKG_template,LIBCROCO,libcroco,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
24 HOST_LDFLAGS+= -lrt
25 HOST_STYLE:= auto
27 libcroco-install:
28 $(INSTALL_DIR) $(IDIR_LIBCROCO)/usr/lib
29 $(CP) $(WRKINST)/usr/lib/libcroco*.so* \
30 $(IDIR_LIBCROCO)/usr/lib
32 include ${ADK_TOPDIR}/mk/host-bottom.mk
33 include ${ADK_TOPDIR}/mk/pkg-bottom.mk