Removed executable bit from some build files and discarded build options that set /bin path for elf files

This commit is contained in:
PktSurf 2024-10-29 20:12:47 +05:30
parent fd5cb987b4
commit f39b658381
120 changed files with 33 additions and 96 deletions

0
base/alsa-lib/alsa-lib.SMBuild Executable file → Normal file
View file

0
base/alsa-plugins/alsa-plugins.SMBuild Executable file → Normal file
View file

0
base/alsa-utils/alsa-utils.SMBuild Executable file → Normal file
View file

0
base/argon2/argon2.SMBuild Executable file → Normal file
View file

0
base/argp-standalone/argp-standalone.SMBuild Executable file → Normal file
View file

0
base/asciidoc/asciidoc.SMBuild Executable file → Normal file
View file

0
base/aspell/aspell.SMBuild Executable file → Normal file
View file

0
base/aspell6/aspell6.SMBuild Executable file → Normal file
View file

0
base/attr/attr.SMBuild Executable file → Normal file
View file

0
base/autoconf/autoconf.SMBuild Executable file → Normal file
View file

0
base/automake/automake.SMBuild Executable file → Normal file
View file

0
base/bash-completion/bash-completion.SMBuild Executable file → Normal file
View file

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--prefix=/usr
make CFLAGS="$CFLAGS"
make install DESTDIR=$pkg

0
base/gmime/gmime.SMBuild Executable file → Normal file
View file

0
base/gmp/gmp.SMBuild Executable file → Normal file
View file

3
base/haveged/haveged.SMBuild Executable file → Normal file
View file

@ -19,8 +19,7 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--sbindir=/bin \
--sbindir=/usr/bin \
--disable-static
make

3
base/id3lib/id3lib.SMBuild Executable file → Normal file
View file

@ -30,8 +30,7 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin
--prefix=/usr
make
make install DESTDIR=$pkg

0
base/initfs/initfs.SMBuild Executable file → Normal file
View file

0
base/iso-codes/iso-codes.SMBuild Executable file → Normal file
View file

3
base/itstool/itstool.SMBuild Executable file → Normal file
View file

@ -18,8 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin
--prefix=/usr
make
make install DESTDIR=$pkg

0
base/jansson/jansson.SMBuild Executable file → Normal file
View file

1
base/jbig2dec/jbig2dec.SMBuild Executable file → Normal file
View file

@ -18,7 +18,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static \
--enable-shared

1
base/json-glib/json-glib.SMBuild Executable file → Normal file
View file

@ -18,7 +18,6 @@ prepbuilddir() {
build() {
mkdir -p smbuild && cd smbuild
meson .. --prefix=/usr \
--bindir=/bin \
-Dintrospection=false
ninja

2
base/kbd/kbd.SMBuild Executable file → Normal file
View file

@ -42,7 +42,7 @@ build() {
./loadkeys -b -q data/keymaps/i386/$i > "$pkg"/usr/share/kmap/$k.kmap || echo "Error loadkeys...$i"
done
install -Dm 755 $srcdir/loadkeys $pkg/bin/loadkeys
install -Dm 755 $srcdir/loadkeys $pkg/usr/bin/loadkeys
cp COPYING $pkgdocs/

6
base/keyutils/keyutils.SMBuild Executable file → Normal file
View file

@ -19,7 +19,8 @@ build() {
make -j1 NO_ARLIB=1 \
LIBDIR=/usr/lib \
USRLIBDIR=/usr/lib \
SBINDIR=/bin \
BINDIR=/usr/bin \
SBINDIR=/usr/bin \
MANDIR=/usr/share/man \
SHAREDIR=/usr/share \
INCLUDEDIR=/usr/include \
@ -30,7 +31,8 @@ build() {
make -j1 NO_ARLIB=1 \
LIBDIR=/usr/lib \
USRLIBDIR=/usr/lib \
SBINDIR=/bin \
BINDIR=/usr/bin \
SBINDIR=/usr/bin \
MANDIR=/usr/share/man \
SHAREDIR=/usr/share \
INCLUDEDIR=/usr/include \

5
base/kmod/kmod.SMBuild Executable file → Normal file
View file

@ -20,8 +20,7 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin
--prefix=/usr
make
make install DESTDIR=$pkg
@ -29,7 +28,7 @@ build() {
cp COPYING $pkgdocs/
(
cd $pkg/bin
cd $pkg/usr/bin
for file in depmod insmod lsmod modinfo modprobe rmmod ; do
ln -sf kmod $file
done

1
base/lame/lame.SMBuild Executable file → Normal file
View file

@ -20,7 +20,6 @@ build() {
LIBS="-lcurses -lterminfo" \
./configure \
--prefix=/usr \
--bindir=/bin \
--enable-shared \
--enable-nasm \
--disable-static

3
base/less/less.SMBuild Executable file → Normal file
View file

@ -22,8 +22,7 @@ prepbuilddir() {
build() {
LDFLAGS="-static" \
./configure \
--prefix=/usr \
--bindir=/bin
--prefix=/usr
make
make install DESTDIR=$pkg

0
base/libaio/libaio.SMBuild Executable file → Normal file
View file

0
base/libao/libao.SMBuild Executable file → Normal file
View file

1
base/libarchive/libarchive.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--with-pic \
--without-openssl \
--without-xml2 \

0
base/libasr/libasr.SMBuild Executable file → Normal file
View file

1
base/libassuan/libassuan.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

1
base/libcap-ng/libcap-ng.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--enable-static=no \
--with-python=no \
--with-python3=no

6
base/libcap/libcap.SMBuild Executable file → Normal file
View file

@ -23,16 +23,14 @@ prepbuilddir() {
}
build() {
make prefix= man_prefix=/share/man lib=lib CFLAGS="$CFLAGS" \
make prefix=/usr man_prefix=/usr/share/man lib=lib CFLAGS="$CFLAGS" \
BUILD_CC="$CC"
make FAKEROOT=$pkg prefix= man_prefix=/share/man SBINDIR=/bin lib=lib install
make FAKEROOT=$pkg prefix=/usr man_prefix=/usr/share/man SBINDIR=/usr/bin lib=lib install
LIBDIR=$pkg/lib
SBINDIR=$pkg/bin
#LD_LIBRARY_PATH=${LIBDIR} ${SBINDIR}/setcap cap_setfacap=i ${SBINDIR}/setcap || echo "oops"
cp License $pkgdocs/
mkfinalpkg

1
base/libcddb/libcddb.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

1
base/libcdio-paranoia/libcdio-paranoia.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--enable-cpp-progs \
--disable-static \
--disable-example-progs

1
base/libcdio/libcdio.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-vcd-info \
--disable-static \
--enable-cpp-progs

1
base/libcroco/libcroco.SMBuild Executable file → Normal file
View file

@ -18,7 +18,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

0
base/libcue/libcue.SMBuild Executable file → Normal file
View file

0
base/libdaemon/libdaemon.SMBuild Executable file → Normal file
View file

0
base/libelf-compat/libelf-compat.SMBuild Executable file → Normal file
View file

0
base/libetpan/libetpan.SMBuild Executable file → Normal file
View file

1
base/libevent/libevent.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

0
base/libexif/libexif.SMBuild Executable file → Normal file
View file

0
base/libffi/libffi.SMBuild Executable file → Normal file
View file

0
base/libgc/libgc.SMBuild Executable file → Normal file
View file

1
base/libgcrypt/libgcrypt.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--enable-shared=yes \
--enable-static=no \
--program-prefix="" \

0
base/libgit2/libgit2.SMBuild Executable file → Normal file
View file

1
base/libgpg-error/libgpg-error.SMBuild Executable file → Normal file
View file

@ -22,7 +22,6 @@ build() {
autoreconf -vif
./configure \
--prefix=/usr \
--bindir=/bin \
--enable-install-gpg-error-config \
--disable-nls

0
base/libical/libical.SMBuild Executable file → Normal file
View file

1
base/libid3tag/libid3tag.SMBuild Executable file → Normal file
View file

@ -20,7 +20,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

1
base/libidn2/libidn2.SMBuild Executable file → Normal file
View file

@ -18,7 +18,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static \
--disable-nls

1
base/libjpeg-turbo/libjpeg-turbo.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ build() {
mkdir -p smbuild && cd smbuild
cmake .. \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_BINDIR="/bin" \
-DCMAKE_INSTALL_LIBDIR="/usr/lib" \
-DENABLE_STATIC=OFF

1
base/libkate/libkate.SMBuild Executable file → Normal file
View file

@ -24,7 +24,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

1
base/libksba/libksba.SMBuild Executable file → Normal file
View file

@ -18,7 +18,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--enable-shared=yes \
--enable-static=no

0
base/libmilter/libmilter.SMBuild Executable file → Normal file
View file

0
base/libminizip/libminizip.SMBuild Executable file → Normal file
View file

0
base/libmms/libmms.SMBuild Executable file → Normal file
View file

0
base/libmnl/libmnl.SMBuild Executable file → Normal file
View file

0
base/libmodplug/libmodplug.SMBuild Executable file → Normal file
View file

3
base/libmtp/libmtp.SMBuild Executable file → Normal file
View file

@ -18,9 +18,8 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static \
--with-udev=/lib/udev
--with-udev=/usr/lib/udev
make
make install DESTDIR=$pkg

0
base/libmypaint/libmypaint.SMBuild Executable file → Normal file
View file

View file

0
base/libnfnetlink/libnfnetlink.SMBuild Executable file → Normal file
View file

1
base/libnfs/libnfs.SMBuild Executable file → Normal file
View file

@ -18,7 +18,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

1
base/libnl/libnl.SMBuild Executable file → Normal file
View file

@ -18,7 +18,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

0
base/libogg/libogg.SMBuild Executable file → Normal file
View file

1
base/libopenal/libopenal.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ build() {
mkdir -p smbuild && cd smbuild
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_BINDIR=/bin \
-DCMAKE_INSTALL_LIBDIR=lib
make

1
base/libpcap/libpcap.SMBuild Executable file → Normal file
View file

@ -21,7 +21,6 @@ build() {
ac_cv_type_u_int64_t=yes \
./configure \
--prefix=/usr \
--bindir=/bin \
--enable-shared \
--with-libnl \
--enable-usb \

1
base/libplist/libplist.SMBuild Executable file → Normal file
View file

@ -21,7 +21,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

1
base/libpng/libpng.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

1
base/libpsl/libpsl.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

0
base/libpthread-stubs/libpthread-stubs.SMBuild Executable file → Normal file
View file

2
base/libptytty/libptytty.SMBuild Executable file → Normal file
View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() {
mkdir -p smbuild && cd smbuild
cmake .. \
-DCMAKE_INSTALL_PREFIX="" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_INSTALL_LIBDIR=lib \
-DUTMP_SUPPORT=OFF \

1
base/libqalculate/libqalculate.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static \
--disable-nls

1
base/libsamplerate/libsamplerate.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

1
base/libseccomp/libseccomp.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

1
base/libsecret/libsecret.SMBuild Executable file → Normal file
View file

@ -20,7 +20,6 @@ build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static \
--disable-introspection \
--disable-manpages \

0
base/libshout/libshout.SMBuild Executable file → Normal file
View file

1
base/libsndfile/libsndfile.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

0
base/libsodium/libsodium.SMBuild Executable file → Normal file
View file

0
base/libssh2/libssh2.SMBuild Executable file → Normal file
View file

1
base/libtasn1/libtasn1.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

0
base/libtheora/libtheora.SMBuild Executable file → Normal file
View file

0
base/libtirpc/libtirpc.SMBuild Executable file → Normal file
View file

1
base/libtool/libtool.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static
make

0
base/libtorrent/libtorrent.SMBuild Executable file → Normal file
View file

0
base/libunistring/libunistring.SMBuild Executable file → Normal file
View file

0
base/libusb/libusb.SMBuild Executable file → Normal file
View file

0
base/libuv/libuv.SMBuild Executable file → Normal file
View file

1
base/libvncserver/libvncserver.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static \
--without-ssl

0
base/libvorbis/libvorbis.SMBuild Executable file → Normal file
View file

0
base/libvpx/libvpx.SMBuild Executable file → Normal file
View file

1
base/libxml2/libxml2.SMBuild Executable file → Normal file
View file

@ -21,7 +21,6 @@ build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--bindir=/bin \
--disable-static \
--with-legacy \
--with-history

3
base/libxslt/libxslt.SMBuild Executable file → Normal file
View file

@ -21,9 +21,8 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--disable-static \
--with-python=/bin/python
--with-python=/usr/bin/python
make
make install DESTDIR=$pkg

1
base/p11-kit/p11-kit.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--without-trust-paths
make

2
base/parted/parted.SMBuild Executable file → Normal file
View file

@ -23,7 +23,7 @@ build() {
CFLAGS+=" -Dloff_t=off_t -include sys/sysmacros.h" \
./configure \
--prefix=/usr \
--sbindir=/bin \
--sbindir=/usr/bin \
--enable-threads=posix \
--disable-static

3
base/swig/swig.SMBuild Executable file → Normal file
View file

@ -18,8 +18,7 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin
--prefix=/usr
make
make install DESTDIR=$pkg

1
base/sysfsutils/sysfsutils.SMBuild Executable file → Normal file
View file

@ -19,7 +19,6 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--bindir=/bin \
--mandir=/usr/share/man \
--disable-static

Some files were not shown because too many files have changed in this diff Show more