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
18 TITLE
:=common BSD library
21 define Package
/libbsd
/description
22 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.
25 define Build
/InstallDev
31 $(PKG_INSTALL_DIR
)/lib
/libbsd.so
* \
35 $(PKG_INSTALL_DIR
)/usr
/include/* \
38 ( cd
$(1)/lib
; ln
-s libbsd.so.
$(PKG_VERSION
) libbsd.so
)
41 define Package
/libbsd
/install
46 $(PKG_INSTALL_DIR
)/lib
/libbsd.so
* \
49 ( cd
$(1)/lib
; ln
-s libbsd.so.
$(PKG_VERSION
) libbsd.so
)
52 $(eval
$(call BuildPackage
,libbsd
))