allow to disable kernel module autoloading mechanism, useful when a big defconfig...
[openadk.git] / package / joe / Makefile
blobf1f23cbfeaee5062a76b85cabad1cb458b68ad6e
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= joe
7 PKG_VERSION:= 3.7
8 PKG_RELEASE:= 2
9 PKG_HASH:= cae456e1ad5a8c1d3c94920a3416c2347277739b260e3494d3bc0f2b9b73106f
10 PKG_DESCR:= small editor
11 PKG_SECTION:= app/editor
12 PKG_URL:= http://joe-editor.sourceforge.net/
13 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=joe-editor/}
15 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
17 PKG_FLAVOURS_JOE:= LANGUAGE SYNTAX
18 PKGFD_LANGUAGE:= install translation files
19 PKGFD_SYNTAX:= install syntax highlighting files
21 include ${ADK_TOPDIR}/mk/package.mk
23 $(eval $(call PKG_template,JOE,joe,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 joe-install:
26 ${INSTALL_DIR} ${IDIR_JOE}/usr/bin
27 ${INSTALL_DIR} ${IDIR_JOE}/etc/joe
28 ${CP} ${WRKINST}/usr/bin/* ${IDIR_JOE}/usr/bin
29 ${CP} ${WRKINST}/etc/joe/* ${IDIR_JOE}/etc/joe
30 ifeq (${ADK_PACKAGE_JOE_LANGUAGE},y)
31 ${INSTALL_DIR} ${IDIR_JOE}/usr/share/joe/lang
32 ${CP} ${WRKINST}/usr/share/joe/lang/* ${IDIR_JOE}/usr/share/joe/lang
33 endif
34 ifeq (${ADK_PACKAGE_JOE_SYNTAX},y)
35 ${INSTALL_DIR} ${IDIR_JOE}/usr/share/joe/syntax
36 ${INSTALL_DIR} ${IDIR_JOE}/usr/share/joe/charmaps
37 ${CP} ${WRKINST}/usr/share/joe/syntax/* ${IDIR_JOE}/usr/share/joe/syntax
38 ${CP} ${WRKINST}/usr/share/joe/charmaps/* ${IDIR_JOE}/usr/share/joe/charmaps
39 endif
41 include ${ADK_TOPDIR}/mk/pkg-bottom.mk