termux-packages/packages/libpopt/build.sh
2020-06-26 01:28:47 +03:00

14 lines
548 B
Bash

TERMUX_PKG_HOMEPAGE=http://www.linuxfromscratch.org/blfs/view/svn/general/popt.html
TERMUX_PKG_DESCRIPTION="Library for parsing cmdline parameters"
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_VERSION=1.16
TERMUX_PKG_SRCURL=https://deb.debian.org/debian/pool/main/p/popt/popt_${TERMUX_PKG_VERSION}.orig.tar.gz
TERMUX_PKG_SHA256=e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8
TERMUX_PKG_DEPENDS="libandroid-glob"
TERMUX_PKG_BREAKS="libpopt-dev"
TERMUX_PKG_REPLACES="libpopt-dev"
termux_step_pre_configure() {
LDFLAGS+=" -landroid-glob"
}