Added /usr related code to several build files in net section

This commit is contained in:
PktSurf 2024-11-01 22:14:50 +05:30
parent f14cfce65d
commit 7a5814b69d
5 changed files with 11 additions and 14 deletions

View file

@ -21,16 +21,14 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr
--prefix=/usr \
--sbindir=/usr/bin
make
make install DESTDIR=$pkg
make install ROOTSBINDIR=/usr/bin DESTDIR=$pkg
cp COPYING $pkgdocs/
# ./configure doesn't care if you change --sbindir to /bin, so we move mount.cifs manually
mkdir -p $pkg/bin ; mv $pkg/sbin/* $pkg/bin/ ; rmdir $pkg/sbin
mkfinalpkg
}

View file

@ -19,7 +19,8 @@ prepbuilddir() {
build() {
./configure \
--prefix=/usr \
--sbindir=/bin \
--sysconfdir=/etc \
--sbindir=/usr/bin \
--libexecdir=/usr/lib/dhcpcd \
--datadir=/usr/share \
--mandir=/usr/share/man \

View file

@ -24,10 +24,9 @@ prepbuilddir() {
build() {
CFLAGS+=" -D_BSD_SOURCE -DMISSING_FD_MASK -DMISSING_NFDBITS" \
./configure \
--prefix= \
--bindir=/bin \
--sbindir=/bin \
--libexecdir=/lib/ssh \
--prefix=/usr \
--sbindir=/usr/bin \
--libexecdir=/usr/libexec/ssh \
--sysconfdir=/etc/ssh \
--with-privsep-user=nobody --with-privsep-path=/var/empty --with-xauth="$pkg/bin/xauth" \
--without-stackprotect --with-md5-passwords --with-mantype=man \

View file

@ -27,8 +27,8 @@ build() {
make install DESTDIR=$pkg
(
mv $pkg/share/wavemon/* $pkgdocs/
rmdir $pkg/share/wavemon
mv $pkg/usr/share/wavemon/* $pkgdocs/
rmdir $pkg/usr/share/wavemon
)
mkfinalpkg

View file

@ -18,9 +18,8 @@ prepbuilddir() {
build() {
./configure \
--prefix=/etc \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/share/man \
--disable-charset \
--enable-openssl