2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=ftp
://ftp.amselinux.net
/source
/
16 PKG_MD5SUM
:=a8b6438e7fd9ccadc9f68824ae62349c
18 include $(INCLUDE_DIR
)/package.mk
25 URL
:=http
://www.amselinux.net
/
30 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
31 $(TARGET_CONFIGURE_OPTS
) \
33 LDIR
="$(PKG_BUILD_DIR)" \
34 AMSEL_INCLUDE
="$(STAGING_DIR)/usr/include" \
35 OPT_LDFLAGS
="$(TARGET_LDFLAGS)" \
37 CONFIG
="$(PKG_BUILD_DIR)/etc/amsel" \
38 DESTDIR
="$(PKG_INSTALL_DIR)" \
43 define Package
/amwall
/install
44 $(INSTALL_DIR
) $(1)/usr
/bin
45 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
46 $(INSTALL_DIR
) $(1)/usr
/sbin
47 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/* $(1)/usr
/sbin
/
48 $(INSTALL_DIR
) $(1)/etc
/amsel
49 $(CP
) $(PKG_INSTALL_DIR
)/etc
/amsel
* $(1)/etc
/
52 $(eval
$(call BuildPackage
,amwall
))