summaryrefslogtreecommitdiff
path: root/package/fbsplash/Makefile
blob: a82d6c68dfb23b1557dd906909ac02c646222a09 (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
26
27
28
29
30
31
32
33
# 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:=		fbsplash
PKG_VERSION:=		1.0
PKG_RELEASE:=		2
PKG_HASH:=		acda1beb502c6ca6961b61c05ebd5aa27b46e4ca4b9009599578f8c25f3bb06e
PKG_DESCR:=		framebuffer splash utility
PKG_SECTION:=		sys/hw
PKG_BUILDDEP:=		libjpeg-turbo libpng freetype
PKG_DEPENDS:=		libjpeg-turbo libpng libfreetype
PKG_URL:=		https://github.com/alanhaggai/fbsplash
PKG_SITES:=		http://distfiles.openadk.org/

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,FBSPLASH,fbsplash,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

TARGET_LDFLAGS+=	-lz
CONFIGURE_ARGS+=	--without-png

fbsplash-install:
	$(INSTALL_DIR) $(IDIR_FBSPLASH)/usr/lib
	$(CP)  $(WRKINST)/usr/lib/libfb*.so* $(IDIR_FBSPLASH)/usr/lib
	$(INSTALL_DIR) $(IDIR_FBSPLASH)/sbin
	$(INSTALL_BIN) $(WRKINST)/sbin/{fbcondecor_helper,fbsplashctl} \
		$(IDIR_FBSPLASH)/sbin

include ${ADK_TOPDIR}/mk/pkg-bottom.mk