forked from ports/contrib
upx: dropped unmaintained port
This commit is contained in:
parent
b27e90a1f1
commit
9b4e766d15
@ -1,7 +0,0 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/upx
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/upx.1.gz
|
@ -1,5 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3ymnv0Dd+XFskD9yXbkYDSOmzNXFVkL42EJh3C3LsT/NejPsVfmZ2IijP1ZB8ZeHCM6A6QeoQDIfPZV6y+CMLQc=
|
||||
SHA256 (Pkgfile) = 6576c45b962953bccc0df587e49a82f24e8b54a87dd3389ddb601e0f229b20f4
|
||||
SHA256 (.footprint) = 4c1267857f05230db56e631d77bd98e5e15f48f232b4a188bc1eed8a5320ebad
|
||||
SHA256 (upx-4.0.2-src.tar.xz) = 1221e725b1a89e06739df27fae394d6bc88aedbe12f137c630ec772522cbc76f
|
27
upx/Pkgfile
27
upx/Pkgfile
@ -1,27 +0,0 @@
|
||||
# Description: Ultimate Packer for eXecutables.
|
||||
# URL: http://upx.sourceforge.net/
|
||||
# Maintainer: unmaintained
|
||||
# Depends on: lz4 ucl zlib
|
||||
|
||||
name=upx
|
||||
version=4.0.2
|
||||
release=1
|
||||
source=(https://github.com/upx/upx/releases/download/v$version/upx-$version-src.tar.xz)
|
||||
|
||||
build() {
|
||||
cmake -S $name-$version-src -B build -G Ninja \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-D UPX_CONFIG_DISABLE_WERROR=ON \
|
||||
-D UPX_CONFIG_DISABLE_SANITIZE=ON \
|
||||
-D UPX_CONFIG_DISABLE_GITREV=ON \
|
||||
-Wno-dev
|
||||
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
|
||||
rm -r $PKG/usr/share/doc
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user