summaryrefslogtreecommitdiff
path: root/package/libbsd/Makefile
blob: b1dfbe191e729553acd658a2b0f42650de208cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		libbsd
PKG_VERSION:=		0.10.0
PKG_RELEASE:=		1
PKG_HASH:=		34b8adc726883d0e85b3118fa13605e179a62b31ba51f676136ecb2d0bc1a887
PKG_DESCR:=		bsd helper functions
PKG_SECTION:=		libs/misc
PKG_URL:=		https://libbsd.freedesktop.org/
PKG_SITES:=		https://libbsd.freedesktop.org/releases/
PKG_OPTS:=		dev

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,LIBBSD,libbsd,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))

libbsd-install:
	$(INSTALL_DIR) $(IDIR_LIBBSD)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libbsd*.so* \
		$(IDIR_LIBBSD)/usr/lib

include $(ADK_TOPDIR)/mk/pkg-bottom.mk