packages/libs/ftplib/Makefile
jogo 0a286c4af4 packages: add ftplib
Needed by newest hasciicam.

git-svn-id: svn://svn.openwrt.org/openwrt/packages@28996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 20:22:28 +00:00

52 lines
1.2 KiB
Makefile

#
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=ftplib
PKG_VERSION:=3.1-1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://nbpfaus.net/~pfau/ftplib/
PKG_MD5SUM:=763be9c7e7b110776f88521a558dbc55
include $(INCLUDE_DIR)/package.mk
MAKE_PATH:=src
define Package/ftplib
SECTION:=libs
CATEGORY:=Libraries
TITLE:=ftplib
URL:=http://nbpfaus.net/~pfau/ftplib/
endef
define Package/ftplib/description
ftplib is a set of routines that implement the FTP protocol. They allow
applications to create and access remote files through function calls instead
of needing to fork and exec an interactive ftp client program.
endef
define Build/Compile
$(call Build/Compile/Default,all)
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/
$(INSTALL_DATA) $(PKG_BUILD_DIR)/src/ftplib.h $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib/
$(CP) $(PKG_BUILD_DIR)/src/libftp.{so*,a} $(1)/usr/lib/
endef
define Package/ftplib/install
$(INSTALL_DIR) $(1)/usr/lib/
$(CP) $(PKG_BUILD_DIR)/src/libftp.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,ftplib))