mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
zlib: remove building minizip
This commit is contained in:
parent
e8f95a4c2f
commit
fbbc6ad9d6
@ -28,28 +28,4 @@ PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_SECTION="compress"
|
||||
PKG_SHORTDESC="zlib: A general purpose (ZIP) data compression library"
|
||||
PKG_LONGDESC="zlib is a general purpose data compression library. All the code is thread safe. The data format used by the zlib library is described by RFCs (Request for Comments) 1950 to 1952 in the files ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format)."
|
||||
PKG_AUTORECONF="no"
|
||||
PKG_USE_NINJA="no"
|
||||
|
||||
post_configure_target() {
|
||||
## configure minizip
|
||||
(
|
||||
cd $PKG_BUILD/contrib/minizip
|
||||
rm Makefile
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:../../"
|
||||
do_autoreconf
|
||||
cp $PKG_BUILD/.$TARGET_NAME/zconf.h ./
|
||||
./configure --host=$TARGET_NAME --build=$HOST_NAME $TARGET_CONFIGURE_OPTS --disable-shared --enable-static
|
||||
)
|
||||
}
|
||||
|
||||
post_make_target() {
|
||||
# make minizip
|
||||
make -C $PKG_BUILD/contrib/minizip
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
# Install minizip
|
||||
make -C $PKG_BUILD/contrib/minizip DESTDIR=$SYSROOT_PREFIX install
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user