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.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=ftp
://ftp.amselinux.net
/source
/
17 PKG_MD5SUM
:=a8b6438e7fd9ccadc9f68824ae62349c
19 include $(INCLUDE_DIR
)/package.mk
26 URL
:=http
://www.amselinux.net
/
31 rm -rf
$(PKG_INSTALL_DIR
)
32 mkdir
-p
$(PKG_INSTALL_DIR
)
33 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
34 $(TARGET_CONFIGURE_OPTS
) \
36 LDIR
="$(PKG_BUILD_DIR)" \
37 AMSEL_INCLUDE
="$(STAGING_DIR)/usr/include" \
38 OPT_LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
40 CONFIG
="$(PKG_BUILD_DIR)/etc/amsel" \
41 DESTDIR
="$(PKG_INSTALL_DIR)" \
46 define Package
/amwall
/install
47 $(INSTALL_DIR
) $(1)/usr
/bin
48 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
49 $(INSTALL_DIR
) $(1)/usr
/sbin
50 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/* $(1)/usr
/sbin
/
51 $(INSTALL_DIR
) $(1)/etc
/amsel
52 $(CP
) $(PKG_INSTALL_DIR
)/etc
/amsel
* $(1)/etc
/
55 $(eval
$(call BuildPackage
,amwall
))