summaryrefslogtreecommitdiff
path: root/package/deco/Makefile
blob: 42e7f0193618685eb1e8af068b640b9f94e9bc9f (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
# 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:=		deco
PKG_VERSION:=		39
PKG_RELEASE:=		2
PKG_MD5SUM:=		f77f60e8be0cae1f814cba1ef61bf4d0
PKG_DESCR:=		full featured text-based file manager
PKG_SECTION:=		sys/misc
PKG_DEPENDS:=		libncurses
PKG_BUILDDEP:=		ncurses
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=deco/}

DISTFILES:=		${PKG_NAME}${PKG_VERSION}.tgz
WRKDIST=		${WRKDIR}/${PKG_NAME}${PKG_VERSION}

include ${ADK_TOPDIR}/mk/package.mk

$(eval $(call PKG_template,DECO,deco,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

TARGET_LDFLAGS+=	-ltinfo
INSTALL_STYLE:=		manual

do-install:
	${INSTALL_DIR} ${IDIR_DECO}/usr/bin ${IDIR_DECO}/usr/lib/deco
	${INSTALL_BIN} ${WRKBUILD}/deco ${IDIR_DECO}/usr/bin/deco
	${INSTALL_DATA} ${WRKBUILD}/profile ${IDIR_DECO}/usr/lib/deco/profile
	${INSTALL_DATA} ${WRKBUILD}/menu ${IDIR_DECO}/usr/lib/deco/menu

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