1 include $(TOPDIR)/rules.mk
7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
8 PKG_SOURCE_URL:=http://libbsd.freedesktop.org/releases
9 #PKG_MD5SUM:=d0870f2de55d59c1c8419f36e8fac150
11 include $(INCLUDE_DIR)/package.mk
19 TITLE:=common BSD library
22 define Package/libbsd/description
23 This library provides useful functions commonly found on BSD systems, and lacking on others like GNU systems, thus making it easier to port projects with strong BSD origins, without needing to embed the same code over and over again on each project.
26 define Build/InstallDev
32 $(PKG_INSTALL_DIR)/lib/libbsd.so* \
36 $(PKG_INSTALL_DIR)/usr/include/* \
39 ( cd $(1)/lib ; ln -s libbsd.so.$(PKG_VERSION) libbsd.so )
42 define Package/libbsd/install
47 $(PKG_INSTALL_DIR)/lib/libbsd.so* \
50 ( cd $(1)/lib ; ln -s libbsd.so.$(PKG_VERSION) libbsd.so )
53 $(eval $(call BuildPackage,libbsd))