summaryrefslogtreecommitdiff
path: root/package/cdrtools/Makefile
blob: fbf623c28a453017bd97268e4e8348ff78a9cff5 (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
34
35
36
# 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:=		cdrtools
PKG_VERSION:=		3.01a25
PKG_RELEASE:=		1
PKG_HASH:=		ec3fc0d1f830c3ff5520c42b80df8f68f769f127ec6e5285b1791e40fc1c6b94
PKG_DESCR:=		cd writing tools
PKG_SECTION:=		sys/fs
PKG_URL:=		http://cdrecord.org/private/cdrecord.html
PKG_SITES:=		http://sourceforge.net/projects/cdrtools/files/alpha/

DISTFILES:=		$(PKG_NAME)-$(PKG_VERSION).tar.gz

PKG_CFLINE_CDRTOOLS:=	depends on ADK_HOST_ONLY

include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call HOST_template,CDRTOOLS,cdrtools,$(PKG_VERSION)-${PKG_RELEASE}))

HOST_STYLE:=		manual

host-build:
	(cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
		${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET})

cdrtools-hostinstall:
	$(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/bin
	$(INSTALL_BIN) $(WRKBUILD)/mkisofs/OBJ/*/mkisofs \
		$(STAGING_HOST_DIR)/usr/bin

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