3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=84fef49cc39ff2605204246666f65864
10 PKG_SOURCE_URL
:=http
://ftp.debian.org
/debian
/pool
/main
/l
/linux-atm
/
11 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).orig.
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 include $(TOPDIR
)/package
/rules.mk
19 BR2_PACKAGE_LINUX_ATM
:=m
22 $(eval
$(call PKG_template
,LINUX_ATM
,linux-atm
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
24 $(PKG_BUILD_DIR
)/.configured
:
25 (cd
$(PKG_BUILD_DIR
); rm -rf config.
{cache
,status
} ; \
27 $(TARGET_CONFIGURE_OPTS
) \
29 --target
=$(GNU_TARGET_NAME
) \
30 --host
=$(GNU_TARGET_NAME
) \
31 --build
=$(GNU_HOST_NAME
) \
37 --datadir=/usr
/share \
38 --includedir=/usr
/src
/openwrt
/build_mipsel
/linux
/include/ \
39 --infodir=/usr
/share
/info \
41 --libexecdir
=/usr
/lib \
42 --localstatedir
=/var \
43 --mandir=/usr
/share
/man \
49 $(PKG_BUILD_DIR
)/.built
:
50 $(MAKE
) -C
$(PKG_BUILD_DIR
)
54 mkdir
-p
$(IDIR_LINUX_ATM
)/usr
/sbin
55 mkdir
-p
$(IDIR_LINUX_ATM
)/lib
56 cp
$(PKG_BUILD_DIR
)/src
/br2684
/.libs
/br2684ctl
$(IDIR_LINUX_ATM
)/usr
/sbin
/
57 cp
$(PKG_BUILD_DIR
)/src
/lib
/.libs
/libatm
.1.0.0 $(IDIR_LINUX_ATM
)/lib
58 ln
-sf libatm
.1.0.0 $(IDIR_LINUX_ATM
)/lib
/libatm
59 ln
-sf libatm
.1.0.0 $(IDIR_LINUX_ATM
)/lib
/libatm
.1
60 $(RSTRIP
) $(IDIR_LINUX_ATM
)/
61 $(IPKG_BUILD
) $(IDIR_LINUX_ATM
) $(PACKAGE_DIR
)
64 $(MAKE
) -C
$(PKG_BUILD_DIR
) clean
65 rm -f
$(PKG_BUILD_DIR
)/.built