diff --git a/base/jansson/jansson.SMBuild b/base/jansson/jansson.SMBuild index dc1cdc8..96332b3 100755 --- a/base/jansson/jansson.SMBuild +++ b/base/jansson/jansson.SMBuild @@ -18,7 +18,7 @@ prepbuilddir() { build() { ./configure \ - --prefix= \ + --prefix=/usr \ --enable-shared \ --disable-static diff --git a/base/jbig2dec/jbig2dec.SMBuild b/base/jbig2dec/jbig2dec.SMBuild index da7c3db..715840d 100755 --- a/base/jbig2dec/jbig2dec.SMBuild +++ b/base/jbig2dec/jbig2dec.SMBuild @@ -17,7 +17,8 @@ prepbuilddir() { build() { ./configure \ - --prefix= \ + --prefix=/usr \ + --bindir=/bin \ --disable-static \ --enable-shared diff --git a/base/json-c/json-c.SMBuild b/base/json-c/json-c.SMBuild index 4dbb8f9..3c08a9c 100755 --- a/base/json-c/json-c.SMBuild +++ b/base/json-c/json-c.SMBuild @@ -18,7 +18,7 @@ prepbuilddir() { build() { ./configure \ - --prefix= \ + --prefix=/usr \ --enable-shared \ --disable-static diff --git a/base/json-glib/json-glib.SMBuild b/base/json-glib/json-glib.SMBuild index 8d88bed..0751525 100755 --- a/base/json-glib/json-glib.SMBuild +++ b/base/json-glib/json-glib.SMBuild @@ -17,7 +17,8 @@ prepbuilddir() { build() { mkdir -p smbuild && cd smbuild - meson .. --prefix=/ \ + meson .. --prefix=/usr \ + --bindir=/bin \ -Dintrospection=false ninja diff --git a/base/kernel-headers/kernel-headers.SMBuild b/base/kernel-headers/kernel-headers.SMBuild index c4653ec..dc413c7 100755 --- a/base/kernel-headers/kernel-headers.SMBuild +++ b/base/kernel-headers/kernel-headers.SMBuild @@ -19,8 +19,8 @@ prepbuilddir() { } build() { - make ARCH="$arch" prefix= DESTDIR=$pkg install - cp -r generic/include $pkg/ + make ARCH="$arch" prefix=/usr DESTDIR=$pkg install + cp -r generic/include $pkg/usr/ mkfinalpkg } diff --git a/base/kmod/kmod.SMBuild b/base/kmod/kmod.SMBuild index bc7ae14..163f65d 100755 --- a/base/kmod/kmod.SMBuild +++ b/base/kmod/kmod.SMBuild @@ -20,9 +20,8 @@ prepbuilddir() { build() { ./configure \ - --prefix= \ - --bindir=/bin \ - --libdir=/lib + --prefix=/usr \ + --bindir=/bin make make install DESTDIR=$pkg diff --git a/base/lame/lame.SMBuild b/base/lame/lame.SMBuild index 0ca2b8c..1eaf8d2 100755 --- a/base/lame/lame.SMBuild +++ b/base/lame/lame.SMBuild @@ -19,7 +19,8 @@ prepbuilddir() { build() { LIBS="-lcurses -lterminfo" \ ./configure \ - --prefix= \ + --prefix=/usr \ + --bindir=/bin \ --enable-shared \ --enable-nasm \ --disable-static diff --git a/base/less/less.SMBuild b/base/less/less.SMBuild index 6bce7dc..94e67eb 100755 --- a/base/less/less.SMBuild +++ b/base/less/less.SMBuild @@ -22,7 +22,8 @@ prepbuilddir() { build() { LDFLAGS="-static" \ ./configure \ - --prefix= + --prefix=/usr \ + --bindir=/bin make make install DESTDIR=$pkg diff --git a/base/libaio/libaio.SMBuild b/base/libaio/libaio.SMBuild index 195cd89..86af10a 100755 --- a/base/libaio/libaio.SMBuild +++ b/base/libaio/libaio.SMBuild @@ -18,7 +18,7 @@ prepbuilddir() { build() { make - make prefix="$pkg" libdir=$pkg/lib install + make prefix="$pkg" includedir="$pkg/usr/include" libdir="$pkg/usr/lib" install cp COPYING $pkgdocs/ diff --git a/base/libao/libao.SMBuild b/base/libao/libao.SMBuild index 3ad39d8..72f8b22 100755 --- a/base/libao/libao.SMBuild +++ b/base/libao/libao.SMBuild @@ -18,7 +18,7 @@ prepbuilddir() { build() { ./configure \ - --prefix= \ + --prefix=/usr \ --enable-shared \ --disable-static \ --disable-pulse diff --git a/base/libasr/libasr.SMBuild b/base/libasr/libasr.SMBuild index 69c3268..5231241 100755 --- a/base/libasr/libasr.SMBuild +++ b/base/libasr/libasr.SMBuild @@ -18,7 +18,7 @@ prepbuilddir() { build() { ./configure \ - --prefix= \ + --prefix=/usr \ --disable-static make