mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-09 04:11:16 +00:00
libsdl2-net: update anb build with cmake
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,26 +0,0 @@
|
|||||||
DESCRIPTION = "Simple DirectMedia Layer networking library."
|
|
||||||
SECTION = "libs/network"
|
|
||||||
LICENSE = "Zlib"
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=fe9d52a78585a65224776875510ed127"
|
|
||||||
|
|
||||||
SRC_URI = " \
|
|
||||||
https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${PV}.tar.gz \
|
|
||||||
"
|
|
||||||
S = "${WORKDIR}/SDL2_net-${PV}"
|
|
||||||
|
|
||||||
inherit autotools pkgconfig
|
|
||||||
|
|
||||||
DEPENDS = "libsdl2"
|
|
||||||
|
|
||||||
SRC_URI[sha256sum] = "15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21"
|
|
||||||
|
|
||||||
do_configure:prepend() {
|
|
||||||
# create dummy files which autotools consider as mandatory
|
|
||||||
touch ${S}/NEWS ${S}/README ${S}/AUTHORS ${S}/ChangeLog
|
|
||||||
|
|
||||||
# Remove old libtool macros.
|
|
||||||
for macro in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
|
|
||||||
echo ${S}/acinclude/macro
|
|
||||||
rm -f ${S}/acinclude/$macro
|
|
||||||
done
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
DESCRIPTION = "Simple DirectMedia Layer networking library."
|
||||||
|
SECTION = "libs/network"
|
||||||
|
LICENSE = "Zlib"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=68a088513da90254b2fbe664f42af315"
|
||||||
|
|
||||||
|
SRC_URI = " \
|
||||||
|
https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${PV}.tar.gz \
|
||||||
|
"
|
||||||
|
S = "${WORKDIR}/SDL2_net-${PV}"
|
||||||
|
|
||||||
|
inherit cmake pkgconfig
|
||||||
|
|
||||||
|
DEPENDS = "libsdl2"
|
||||||
|
|
||||||
|
SRC_URI[sha256sum] = "4e4a891988316271974ff4e9585ed1ef729a123d22c08bd473129179dc857feb"
|
||||||
|
|
||||||
|
FILES:${PN} += "${datadir}/licenses"
|
||||||
Reference in New Issue
Block a user