0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 05:08:56 +00:00
termux-packages/root-packages/wireless-tools/build.sh
2022-04-18 14:31:51 +05:30

20 lines
708 B
Bash

TERMUX_PKG_HOMEPAGE=https://hewlettpackard.github.io/wireless-tools/Tools
TERMUX_PKG_DESCRIPTION="A set of tools allowing to manipulate the Wireless Extensions"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=30pre9
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://hewlettpackard.github.io/wireless-tools/wireless_tools.30.pre9.tar.gz
TERMUX_PKG_SHA256=abd9c5c98abf1fdd11892ac2f8a56737544fe101e1be27c6241a564948f34c63
TERMUX_PKG_BREAKS="wireless-tools-dev"
TERMUX_PKG_REPLACES="wireless-tools-dev"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make () {
make \
CC="$CC" \
CFLAGS="$CFLAGS $CPPFLAGS -fPIE -pie" \
LDFLAGS="$LDFLAGS -fPIE -pie" \
PREFIX="${TERMUX_PREFIX}"
}