2008-12-22 22:22:41 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=argp-standalone
|
|
|
|
PKG_VERSION:=1.3
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://www.lysator.liu.se/~nisse/misc/
|
|
|
|
PKG_MD5SUM:=720704bac078d067111b32444e24ba69
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/argp-standalone
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=Hierarchial argument parsing broken out from glibc
|
|
|
|
URL:=http://www.lysator.liu.se/~nisse/misc/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/argp-standalone/description
|
|
|
|
GNU libc hierarchial argument parsing library broken out from glibc.
|
|
|
|
endef
|
|
|
|
|
|
|
|
#MAKE_FLAGS += \
|
|
|
|
# OPTIM="$(TARGET_CFLAGS)" \
|
|
|
|
# CFLAGS="$(TARGET_CFLAGS)" \
|
|
|
|
# DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
# all install
|
|
|
|
|
|
|
|
define Build/InstallDev
|
2009-12-18 11:06:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/include
|
2008-12-22 22:22:41 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/argp.h \
|
|
|
|
$(1)/usr/include/
|
2009-12-18 11:06:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2008-12-22 22:22:41 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/libargp.a \
|
|
|
|
$(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,argp-standalone))
|