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
12 PKG_VERSION
:=20040621-cvs
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=ftp
://ftp.amselinux.net
/source
/
17 PKG_MD5SUM
:=2077e620047404881a65d39c53c9917e
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/libamsel
24 TITLE
:=The amwall library
25 URL
:=http
://amselinux.de
/
28 define Package
/libamsel
/description
29 A library for amwall configuration files.
32 define Build
/Configure
36 CFLAGS
="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) -fPIC" \
37 LDIR
=$(PKG_BUILD_DIR
) \
38 PREFIX
="$(PKG_INSTALL_DIR)/usr" \
41 define Build
/InstallDev
42 mkdir
-p
$(1)/usr
/include
43 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/amsel
/compat.h
$(1)/usr
/include/
44 mkdir
-p
$(1)/usr
/include/compat
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/amsel
/compat
/queue.h
$(1)/usr
/include/compat
/
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libamsel.so
$(1)/usr
/lib
/
50 define Package
/libamsel
/install
51 $(INSTALL_DIR
) $(1)/usr
/lib
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/* $(1)/usr
/lib
55 $(eval
$(call BuildPackage
,libamsel
))