diff options
Diffstat (limited to 'system/android-udev-rules/android-udev-rules.SlackBuild')
-rw-r--r-- | system/android-udev-rules/android-udev-rules.SlackBuild | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/system/android-udev-rules/android-udev-rules.SlackBuild b/system/android-udev-rules/android-udev-rules.SlackBuild index eeb9eade5a..4c2464fc89 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:-2022.01.02} +VERSION=${VERSION:-2024.02.21} 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 |