libgrapheme: bump to 2.0.2 and further simplify the build (#7368)

This commit is contained in:
FRIGN
2022-11-04 23:50:11 +01:00
committed by GitHub
parent a60d5f391d
commit 74e1a73a57
2 changed files with 5 additions and 29 deletions

View File

@@ -1,14 +1,12 @@
SUMMARY="A unicode string library"
SUMMARY="Unicode string library"
DESCRIPTION="libgrapheme is an extremely simple freestanding C99 library providing \
utilities for properly handling strings according to the latest Unicode standard \
15.0.0. It offers fully Unicode compliant."
utilities for properly handling strings according to the Unicode standard."
HOMEPAGE="https://libs.suckless.org/libgrapheme"
COPYRIGHT="2022 Laslo Hunhold"
LICENSE="ISC"
REVISION="1"
SOURCE_URI="https://dl.suckless.org/libgrapheme/libgrapheme-$portVersion.tar.gz"
CHECKSUM_SHA256="a6e1f7aec86af029dc183e32ab7a8d531fc00e54c44921dbdffc929aceb90dc6"
PATCHES="libgrapheme-$portVersion.patchset"
CHECKSUM_SHA256="a68bbddde76bd55ba5d64116ce5e42a13df045c81c0852de9ab60896aa143125"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -37,7 +35,6 @@ BUILD_REQUIRES="
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:sed
"
BUILD()
@@ -47,8 +44,8 @@ BUILD()
INSTALL()
{
make install LIBPREFIX=$libDir INCPREFIX=$includeDir \
MANPREFIX=$manDir $jobArgs
make $jobArgs LIBPREFIX=$libDir INCPREFIX=$includeDir \
MANPREFIX=$manDir LDCONFIG= install
prepareInstalledDevelLib libgrapheme

View File

@@ -1,21 +0,0 @@
From 1343367e052b83990f55243bec5947c796aff94b Mon Sep 17 00:00:00 2001
From: Al Hoang <3811822-hoanga@users.noreply.gitlab.com>
Date: Sat, 8 Oct 2022 11:03:46 +0000
Subject: unset ldconfig
diff --git a/config.mk b/config.mk
index f32cd2c..6593fc7 100644
--- a/config.mk
+++ b/config.mk
@@ -30,5 +30,5 @@ CC = cc
BUILD_CC = $(CC)
AR = ar
RANLIB = ranlib
-LDCONFIG = ldconfig # unset to not call ldconfig(1) after install/uninstall
+LDCONFIG =
SH = sh
--
2.37.3