2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
13 PKG_SOURCE_URL
:=https
://distfiles.dereferenced.org
/pkgconf
14 PKG_HASH
:=b846aea51cf696c3392a0ae58bef93e2e72f8e7073ca6ad1ed8b01c85871f9c0
16 PKG_MAINTAINER
:=Rosen Penev
<rosenp@gmail.com
>
18 PKG_LICENSE_FILES
:=COPYING
21 PKG_BUILD_DEPENDS
:=meson
/host
23 include $(INCLUDE_DIR
)/package.mk
24 include ..
/..
/devel
/meson
/meson.mk
26 define Package
/libpkgconf
30 URL
:=http
://pkgconf.org
/
33 define Package
/pkgconf
37 URL
:=http
://pkgconf.org
/
41 define Package
/libpkgconf
/description
42 libpkgconf is a library which provides access to most of pkgconf’s
43 functionality
, to allow other tooling such
as compilers and IDEs to
44 discover and use frameworks configured by pkgconf. It features a stable
45 library ABI and API designed for building bindings and other tools.
48 define Package
/pkgconf
/description
49 pkgconf is a program which helps to configure compiler and linker flags
50 for development frameworks. It is similar to pkg-config from
51 freedesktop.org
, providing additional functionality while also
52 maintaining compatibility.
58 define Build
/InstallDev
59 $(INSTALL_DIR
) $(1)/usr
/include/libpkgconf
60 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/libpkgconf
/*.h
$(1)/usr
/include/libpkgconf
/
61 $(INSTALL_DIR
) $(1)/usr
/lib
62 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libpkgconf.so
* $(1)/usr
/lib
/
63 $(INSTALL_DIR
) $(1)/usr
/share
/aclocal
/
64 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/aclocal
/pkg.m4 \
65 $(1)/usr
/share
/aclocal
/
68 define Package
/libpkgconf
/install
69 $(INSTALL_DIR
) $(1)/usr
/lib
70 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libpkgconf.so
* $(1)/usr
/lib
/
71 $(INSTALL_DIR
) $(1)/usr
/share
/aclocal
/
72 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/aclocal
/pkg.m4 \
73 $(1)/usr
/share
/aclocal
/
76 define Package
/pkgconf
/install
77 $(INSTALL_DIR
) $(1)/usr
/bin
78 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/pkgconf
$(1)/usr
/bin
/
81 $(eval
$(call BuildPackage
,libpkgconf
))
82 $(eval
$(call BuildPackage
,pkgconf
))