aboutsummaryrefslogtreecommitdiff
path: root/system/android-udev-rules
diff options
context:
space:
mode:
authorReza Talebi <reza.talebi.73@outlook.com>2023-12-09 20:11:13 +0330
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-12-13 01:48:16 +0700
commit50a069ce3f300c8d17899c796ece9b174b660267 (patch)
treee82072879afdab5c91df6b4f96376d7b0723a62b /system/android-udev-rules
parentdb23d490fd7f4eb4a3ad8a2c4ebfe3a4a6886a43 (diff)
system/android-udev-rules: Updated for version 2023.12.07.
Switch to noarch as well Signed-off-by: Reza Talebi <reza.talebi.73@outlook.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/android-udev-rules')
-rw-r--r--system/android-udev-rules/android-udev-rules.SlackBuild27
-rw-r--r--system/android-udev-rules/android-udev-rules.info6
2 files changed, 5 insertions, 28 deletions
diff --git a/system/android-udev-rules/android-udev-rules.SlackBuild b/system/android-udev-rules/android-udev-rules.SlackBuild
index 870564b42837..f945015ce1a6 100644
--- a/system/android-udev-rules/android-udev-rules.SlackBuild
+++ b/system/android-udev-rules/android-udev-rules.SlackBuild
@@ -27,22 +27,13 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=android-udev-rules
SRCNAM=51-android.rules
-VERSION=${VERSION:-2023.11.24}
+VERSION=${VERSION:-2023.12.07}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+ARCH=noarch
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -53,20 +44,6 @@ DEST=etc/udev/rules.d
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
diff --git a/system/android-udev-rules/android-udev-rules.info b/system/android-udev-rules/android-udev-rules.info
index aa398c9ad49b..3bf02c9c56bf 100644
--- a/system/android-udev-rules/android-udev-rules.info
+++ b/system/android-udev-rules/android-udev-rules.info
@@ -1,8 +1,8 @@
PRGNAM="android-udev-rules"
-VERSION="2023.11.24"
+VERSION="2023.12.07"
HOMEPAGE="https://github.com/M0Rf30/android-udev-rules"
-DOWNLOAD="https://raw.githubusercontent.com/M0Rf30/android-udev-rules/20231124/51-android.rules"
-MD5SUM="d25181d188097b66aa7dbbab0cd4e8e9"
+DOWNLOAD="https://raw.githubusercontent.com/M0Rf30/android-udev-rules/20231207/51-android.rules"
+MD5SUM="666d686561da933b1593ba6956f4eebb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="android-tools"