3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=771c1489488e62668d673478311d63ca
10 PKG_SOURCE_URL
:=http
://nbd.vd-s.ath.cx
/openwrt \
11 http
://openwrt.openbsd-geek.de
/
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
16 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
18 include $(TOPDIR
)/package
/rules.mk
20 $(eval
$(call PKG_template
,LIBMATRIXSSL
,libmatrixssl
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
22 $(PKG_BUILD_DIR
)/.built
:
23 $(MAKE
) -C
$(PKG_BUILD_DIR
)/src \
24 $(TARGET_CONFIGURE_OPTS
) \
25 DFLAGS
="$(TARGET_CFLAGS) -Wall"
26 touch
$(PKG_BUILD_DIR
)/.built
29 install -d
-m0755
$(IDIR_LIBMATRIXSSL
)/usr
/lib
30 cp
-fpR
$(PKG_BUILD_DIR
)/src
/libmatrixssl.so.
* $(IDIR_LIBMATRIXSSL
)/usr
/lib
/
31 $(RSTRIP
) $(IDIR_LIBMATRIXSSL
)
32 $(IPKG_BUILD
) $(IDIR_LIBMATRIXSSL
) $(PACKAGE_DIR
)
34 $(STAGING_DIR
)/usr
/lib
/libmatrixssl.so
: $(PKG_BUILD_DIR
)/.built
35 mkdir
-p
$(STAGING_DIR
)/usr
/include/matrixSsl
36 cp
-fpR
$(PKG_BUILD_DIR
)/matrixSsl.h
$(STAGING_DIR
)/usr
/include/matrixSsl
37 ln
-sf matrixSsl
/matrixSsl.h
$(STAGING_DIR
)/usr
/include/matrixSsl.h
38 mkdir
-p
$(STAGING_DIR
)/usr
/lib
39 cp
-fpR
$(PKG_BUILD_DIR
)/src
/libmatrixssl.so
* $(STAGING_DIR
)/usr
/lib
41 install-dev
: $(STAGING_DIR
)/usr
/lib
/libmatrixssl.so
45 $(STAGING_DIR
)/usr
/include/matrixSsl
* \
46 $(STAGING_DIR
)/usr
/lib
/libmatrixssl.so
* \