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
)/.configured
:
23 touch
$(PKG_BUILD_DIR
)/.configured
25 $(PKG_BUILD_DIR
)/.built
:
26 $(MAKE
) -C
$(PKG_BUILD_DIR
)/src \
27 $(TARGET_CONFIGURE_OPTS
) \
28 DFLAGS
="$(TARGET_CFLAGS) -Wall"
29 touch
$(PKG_BUILD_DIR
)/.built
32 install -d
-m0755
$(IDIR_LIBMATRIXSSL
)/usr
/lib
33 cp
-fpR
$(PKG_BUILD_DIR
)/src
/libmatrixssl.so.
* $(IDIR_LIBMATRIXSSL
)/usr
/lib
/
34 $(RSTRIP
) $(IDIR_LIBMATRIXSSL
)
35 $(IPKG_BUILD
) $(IDIR_LIBMATRIXSSL
) $(PACKAGE_DIR
)
37 $(STAGING_DIR
)/usr
/lib
/libmatrixssl.so
: $(PKG_BUILD_DIR
)/.built
38 mkdir
-p
$(STAGING_DIR
)/usr
/include/matrixSsl
39 cp
-fpR
$(PKG_BUILD_DIR
)/matrixSsl.h
$(STAGING_DIR
)/usr
/include/matrixSsl
40 ln
-sf matrixSsl
/matrixSsl.h
$(STAGING_DIR
)/usr
/include/matrixSsl.h
41 mkdir
-p
$(STAGING_DIR
)/usr
/lib
42 cp
-fpR
$(PKG_BUILD_DIR
)/src
/libmatrixssl.so
* $(STAGING_DIR
)/usr
/lib
44 install-dev
: $(STAGING_DIR
)/usr
/lib
/libmatrixssl.so
48 $(STAGING_DIR
)/usr
/include/matrixSsl
* \
49 $(STAGING_DIR
)/usr
/lib
/libmatrixssl.so
* \