2 # Copyright (C) 2008 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.gz
15 PKG_SOURCE_URL
:=http
://nbpfaus.net
/~pfau
/ftplib
/
16 PKG_MD5SUM
:=763be9c7e7b110776f88521a558dbc55
18 include $(INCLUDE_DIR
)/package.mk
26 URL
:=http
://nbpfaus.net
/~pfau
/ftplib
/
29 define Package
/ftplib
/description
30 ftplib is a set of routines that implement the FTP protocol. They allow
31 applications to create and access remote files through function calls instead
32 of needing to fork and exec an interactive ftp client program.
36 $(call Build
/Compile
/Default
,all)
39 define Build
/InstallDev
40 $(INSTALL_DIR
) $(1)/usr
/include/
41 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/src
/ftplib.h
$(1)/usr
/include/
42 $(INSTALL_DIR
) $(1)/usr
/lib
/
43 $(CP
) $(PKG_BUILD_DIR
)/src
/libftp.
{so
*,a
} $(1)/usr
/lib
/
46 define Package
/ftplib
/install
47 $(INSTALL_DIR
) $(1)/usr
/lib
/
48 $(CP
) $(PKG_BUILD_DIR
)/src
/libftp.so
* $(1)/usr
/lib
/
51 $(eval
$(call BuildPackage
,ftplib
))