forked from ports/contrib
sdl2_net: updated url
This commit is contained in:
parent
f5c4d953d5
commit
29658f499e
@ -10,8 +10,8 @@ drwxr-xr-x root/root usr/lib/cmake/SDL2_net/
|
||||
-rw-r--r-- root/root usr/lib/cmake/SDL2_net/SDL2_netConfig.cmake
|
||||
-rw-r--r-- root/root usr/lib/cmake/SDL2_net/SDL2_netConfigVersion.cmake
|
||||
lrwxrwxrwx root/root usr/lib/libSDL2_net-2.0.so -> libSDL2_net-2.0.so.0
|
||||
lrwxrwxrwx root/root usr/lib/libSDL2_net-2.0.so.0 -> libSDL2_net-2.0.so.0.200.0
|
||||
-rwxr-xr-x root/root usr/lib/libSDL2_net-2.0.so.0.200.0
|
||||
lrwxrwxrwx root/root usr/lib/libSDL2_net-2.0.so.0 -> libSDL2_net-2.0.so.0.300.0
|
||||
-rwxr-xr-x root/root usr/lib/libSDL2_net-2.0.so.0.300.0
|
||||
lrwxrwxrwx root/root usr/lib/libSDL2_net.so -> libSDL2_net-2.0.so.0
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/SDL2_net.pc
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF34yg7cYsyg8PfUng1wH4wkcekX8ILDO14wnnJGF8FmFVeHkom4l3uBiHLIg/IRLg2t85UV0y+jSGFuwulQ0LwAI=
|
||||
SHA256 (Pkgfile) = db3f7f67bc657c1b16df1182727bf84d62bc2e1dd6716f75ba35cc920346eafd
|
||||
SHA256 (.footprint) = ccb409337b590ab71809f747119199cee0c93c9182ec28f9886515389778c41e
|
||||
SHA256 (SDL2_net-2.2.0.tar.gz) = 4e4a891988316271974ff4e9585ed1ef729a123d22c08bd473129179dc857feb
|
||||
RWSagIOpLGJF33URB/px1ivTwYr+ItqtqkCZ0nYdYHVrlokNIvECJgMrdK5xDRbAaJrYBduibuPcli+qQjuA0I0r2+GK1RyZKwo=
|
||||
SHA256 (Pkgfile) = c3356285f7f65a14c3c0ea4fe5b0cc7789783625eb07330260f5b068c8946c20
|
||||
SHA256 (.footprint) = 10f41b465cc6c41b497e9a88ce6e67eef9b5de9157e35aeb472a2fcdf04ed28c
|
||||
SHA256 (sdl2_net-2.2.0.tar.gz) = 287e88645e12b8e646e1ca2cd9cce024c66e86f1f18da3e01e5e6b28bc8c6638
|
||||
|
@ -1,23 +1,24 @@
|
||||
# Description: A cross-platform networking library for SDL2.
|
||||
# URL: https://www.libsdl.org/projects/SDL_net/
|
||||
# URL: https://www.github.com/libsdl-org/SDL_net/
|
||||
# Maintainer: John McQuah, jmcquah at disroot dot org
|
||||
# Depends on: libsdl2
|
||||
|
||||
name=sdl2_net
|
||||
version=2.2.0
|
||||
release=2
|
||||
source=(https://www.libsdl.org/projects/SDL_net/release/SDL2_net-$version.tar.gz)
|
||||
_commit=6d9b64c438b3f60f08ea5c43d678f2beaf10ea70
|
||||
release=3
|
||||
source=(https://www.github.com/libsdl-org/SDL_net/archive/$_commit/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cmake -S SDL2_net-$version -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS"
|
||||
cmake -S SDL_net-$_commit -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS"
|
||||
|
||||
ninja -C build -j ${JOBS:-1}
|
||||
DESTDIR=$PKG ninja -C build install
|
||||
ninja -C build -j ${JOBS:-1}
|
||||
DESTDIR=$PKG ninja -C build install
|
||||
|
||||
# delete installed license.txt
|
||||
rm -rf $PKG/usr/share
|
||||
# delete installed license.txt
|
||||
rm -rf $PKG/usr/share
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user