summaryrefslogtreecommitdiff
path: root/package/linux-atm/Makefile
blob: edb2778851c0f0bb14a5d2e2219faf59e2c1b5c9 (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		linux-atm
PKG_VERSION:=		2.5.0
PKG_RELEASE:=		1
PKG_MD5SUM:=		0b45a0e801fac7093ce4b0cadf419965
PKG_DESCR:=		ATM library for linux
PKG_SECTION:=		libs
PKG_URL:=		http://linux-atm.sourceforge.net
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=linux-atm/}

PKG_DESCR_1:=		br2684ctl
PKG_DEPENDS_1:=		libatm
PKG_SECTION_1:=		net

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,LIBATM,libatm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,BR2684CTL,br2684ctl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_1},${PKG_DESCR_1},${PKG_SECTION}))

CONFIGURE_STYLE:=	gnu
BUILD_STYLE:=		auto
INSTALL_STYLE:=		auto

post-install:
	${INSTALL_DIR} ${IDIR_LIBATM}/usr/lib
	${CP} ${WRKINST}/usr/lib/libatm.so.1 ${IDIR_LIBATM}/usr/lib
	${INSTALL_DIR} ${IDIR_BR2684CTL}/usr/sbin
	${CP} ${WRKINST}/usr/sbin/br2684ctl ${IDIR_BR2684CTL}/usr/sbin

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