3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=a8b6438e7fd9ccadc9f68824ae62349c
10 PKG_SOURCE_URL
:=ftp
://ftp.amselinux.net
/source
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,AMWALL
,amwall
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
24 $(PKG_BUILD_DIR
)/.built
:
25 rm -rf
$(PKG_INSTALL_DIR
)
26 mkdir
-p
$(PKG_INSTALL_DIR
)
27 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
28 $(TARGET_CONFIGURE_OPTS
) \
30 LDIR
=$(PKG_BUILD_DIR
) \
31 AMSEL_INCLUDE
="$(STAGING_DIR)/usr/include" \
32 OPT_LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
34 CONFIG
="$(PKG_BUILD_DIR)/etc/amsel" \
35 DESTDIR
=$(PKG_INSTALL_DIR
) \
40 install -d
-m0755
$(IDIR_AMWALL
)/usr
/bin
41 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(IDIR_AMWALL
)/usr
/bin
42 install -d
-m0755
$(IDIR_AMWALL
)/usr
/sbin
43 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/* $(IDIR_AMWALL
)/usr
/sbin
44 install -d
-m0755
$(IDIR_AMWALL
)/etc
/amsel
45 $(CP
) $(PKG_INSTALL_DIR
)/etc
/amsel
* $(IDIR_AMWALL
)/etc
46 $(RSTRIP
) $(IDIR_AMWALL
)
47 $(IPKG_BUILD
) $(IDIR_AMWALL
) $(PACKAGE_DIR
)