Fixed base build files to put non-elf stuff in /usr

This commit is contained in:
PktSurf 2024-10-16 21:49:42 +05:30
parent a579237620
commit 659ac81257
11 changed files with 17 additions and 14 deletions

View file

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

View file

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

View file

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

View file

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

View file

@ -19,8 +19,8 @@ prepbuilddir() {
} }
build() { build() {
make ARCH="$arch" prefix= DESTDIR=$pkg install make ARCH="$arch" prefix=/usr DESTDIR=$pkg install
cp -r generic/include $pkg/ cp -r generic/include $pkg/usr/
mkfinalpkg mkfinalpkg
} }

View file

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

View file

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

View file

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

View file

@ -18,7 +18,7 @@ prepbuilddir() {
build() { build() {
make make
make prefix="$pkg" libdir=$pkg/lib install make prefix="$pkg" includedir="$pkg/usr/include" libdir="$pkg/usr/lib" install
cp COPYING $pkgdocs/ cp COPYING $pkgdocs/

View file

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

View file

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