forked from ports/contrib
upx: marked unmaintained
This commit is contained in:
parent
f875b8eeba
commit
4897a9c1de
@ -1,5 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF33jdu/CqIH7sWGI/Rr4j4OOzYnPrbMrpAp/a92v8GFD/MhEaUYuXYAUj7+H4qn4rC1d7MZ1eq1XR9ykWayG3qgk=
|
RWSagIOpLGJF3ymnv0Dd+XFskD9yXbkYDSOmzNXFVkL42EJh3C3LsT/NejPsVfmZ2IijP1ZB8ZeHCM6A6QeoQDIfPZV6y+CMLQc=
|
||||||
SHA256 (Pkgfile) = b24c6b5a6d255be4ef287173c8a252013ae21f5d98b1be7a2293e9a69ac5fee0
|
SHA256 (Pkgfile) = 6576c45b962953bccc0df587e49a82f24e8b54a87dd3389ddb601e0f229b20f4
|
||||||
SHA256 (.footprint) = 4c1267857f05230db56e631d77bd98e5e15f48f232b4a188bc1eed8a5320ebad
|
SHA256 (.footprint) = 4c1267857f05230db56e631d77bd98e5e15f48f232b4a188bc1eed8a5320ebad
|
||||||
SHA256 (upx-4.0.2-src.tar.xz) = 1221e725b1a89e06739df27fae394d6bc88aedbe12f137c630ec772522cbc76f
|
SHA256 (upx-4.0.2-src.tar.xz) = 1221e725b1a89e06739df27fae394d6bc88aedbe12f137c630ec772522cbc76f
|
||||||
|
28
upx/Pkgfile
28
upx/Pkgfile
@ -1,6 +1,6 @@
|
|||||||
# Description: Ultimate Packer for eXecutables.
|
# Description: Ultimate Packer for eXecutables.
|
||||||
# URL: http://upx.sourceforge.net/
|
# URL: http://upx.sourceforge.net/
|
||||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
# Maintainer: unmaintained
|
||||||
# Depends on: lz4 ucl zlib
|
# Depends on: lz4 ucl zlib
|
||||||
|
|
||||||
name=upx
|
name=upx
|
||||||
@ -9,19 +9,19 @@ release=1
|
|||||||
source=(https://github.com/upx/upx/releases/download/v$version/upx-$version-src.tar.xz)
|
source=(https://github.com/upx/upx/releases/download/v$version/upx-$version-src.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cmake -S $name-$version-src -B build -G Ninja \
|
cmake -S $name-$version-src -B build -G Ninja \
|
||||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||||
-D CMAKE_BUILD_TYPE=Release \
|
-D CMAKE_BUILD_TYPE=Release \
|
||||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||||
-D UPX_CONFIG_DISABLE_WERROR=ON \
|
-D UPX_CONFIG_DISABLE_WERROR=ON \
|
||||||
-D UPX_CONFIG_DISABLE_SANITIZE=ON \
|
-D UPX_CONFIG_DISABLE_SANITIZE=ON \
|
||||||
-D UPX_CONFIG_DISABLE_GITREV=ON \
|
-D UPX_CONFIG_DISABLE_GITREV=ON \
|
||||||
-Wno-dev
|
-Wno-dev
|
||||||
|
|
||||||
cmake --build build
|
cmake --build build
|
||||||
DESTDIR=$PKG cmake --install build
|
DESTDIR=$PKG cmake --install build
|
||||||
|
|
||||||
rm -r $PKG/usr/share/doc
|
rm -r $PKG/usr/share/doc
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user