ports: Fix packaging of bunch of ports
This commit is contained in:
@@ -19,5 +19,6 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
|
mkdir -p "$DESTDIR/usr/bin"
|
||||||
cp -v bin/gcc/$specseek_arch/specseek_$specseek_arch "$DESTDIR/usr/bin/specseek" || exit 1
|
cp -v bin/gcc/$specseek_arch/specseek_$specseek_arch "$DESTDIR/usr/bin/specseek" || exit 1
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -16,7 +16,7 @@ CONFIGURE_OPTIONS=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
if [ ! -L $DESTDIR/usr/bin/sh ]; then
|
if [ ! -L "$DESTDIR/usr/bin/sh" ]; then
|
||||||
ln -s bash $DESTDIR/usr/bin/sh
|
ln -sv "bash $DESTDIR/usr/bin/sh"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,9 +17,11 @@ configure() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./b2 --user-config=user-config.jam toolset=gcc target-os=banan_os || exit 1
|
./b2 --user-config=user-config.jam \
|
||||||
|
toolset=gcc target-os=banan_os || exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
./b2 --user-config=user-config.jam toolset=gcc target-os=banan_os install || exit 1
|
./b2 --user-config=user-config.jam --prefix="$DESTDIR/usr" \
|
||||||
|
toolset=gcc target-os=banan_os install || exit 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,7 +22,8 @@ install() {
|
|||||||
mkdir -p "$DESTDIR/usr/include"
|
mkdir -p "$DESTDIR/usr/include"
|
||||||
cp -v bzlib.h "$DESTDIR/usr/include/" || exit 1
|
cp -v bzlib.h "$DESTDIR/usr/include/" || exit 1
|
||||||
|
|
||||||
cat > $DESTDIR/usr/lib/pkgconfig/bzip2.pc << EOF
|
mkdir -p "$DESTDIR/usr/lib/pkgconfig"
|
||||||
|
cat > "$DESTDIR/usr/lib/pkgconfig/bzip2.pc" << EOF
|
||||||
prefix=/usr
|
prefix=/usr
|
||||||
exec_prefix=\${prefix}
|
exec_prefix=\${prefix}
|
||||||
bindir=\${exec_prefix}/bin
|
bindir=\${exec_prefix}/bin
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@ configure() {
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
if [ ! -f ../doom1.wad ]; then
|
if [ ! -f ../doom1.wad ]; then
|
||||||
wget https://distro.ibiblio.org/slitaz/sources/packages/d/doom1.wad -O ../doom1.wad || exit 1
|
wget 'https://bananymous.com/files/doom1.wad' -O ../doom1.wad || exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
make -C doomgeneric -f Makefile.sdl CC="$CC" SDL_PATH="$BANAN_SYSROOT/usr/bin/" || exit 1
|
make -C doomgeneric -f Makefile.sdl CC="$CC" SDL_PATH="$BANAN_SYSROOT/usr/bin/" || exit 1
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ DOWNLOAD_URL="https://ftpmirror.gnu.org/gnu/ncurses/ncurses-$VERSION.tar.gz#355b
|
|||||||
CONFIG_SUB=('config.sub')
|
CONFIG_SUB=('config.sub')
|
||||||
CONFIGURE_OPTIONS=(
|
CONFIGURE_OPTIONS=(
|
||||||
"--with-pkg-config='$PKG_CONFIG'"
|
"--with-pkg-config='$PKG_CONFIG'"
|
||||||
"--with-pkg-config-libdir=/usr/lib/pkgconfig"
|
'--with-pkg-config-libdir=/usr/lib/pkgconfig'
|
||||||
'--enable-pc-files'
|
'--enable-pc-files'
|
||||||
'--enable-sigwinch'
|
'--enable-sigwinch'
|
||||||
'--with-shared'
|
'--with-shared'
|
||||||
@@ -16,12 +16,16 @@ CONFIGURE_OPTIONS=(
|
|||||||
CFLAGS='-std=c17'
|
CFLAGS='-std=c17'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
unset TERMINFO TERMINFO_DIRS
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
for lib in ncurses ncurses++ form panel menu; do
|
for lib in ncurses form panel menu; do
|
||||||
ln -sv ${lib}w.pc "$DESTDIR/usr/lib/pkgconfig/$lib.pc"
|
ln -svf ${lib}w.pc "$DESTDIR/usr/lib/pkgconfig/$lib.pc"
|
||||||
done
|
done
|
||||||
|
|
||||||
ln -sv libncursesw.so "$DESTDIR/usr/lib/libncurses.so"
|
ln -svf libncursesw.so "$DESTDIR/usr/lib/libncurses.so"
|
||||||
|
|
||||||
mkdir -p "$DESTDIR/etc/profile.d"
|
mkdir -p "$DESTDIR/etc/profile.d"
|
||||||
echo 'export NCURSES_NO_UTF8_ACS=1' > "$DESTDIR/etc/profile.d/ncurses.sh"
|
echo 'export NCURSES_NO_UTF8_ACS=1' > "$DESTDIR/etc/profile.d/ncurses.sh"
|
||||||
|
|||||||
@@ -10,5 +10,5 @@ configure() {
|
|||||||
|
|
||||||
install() {
|
install() {
|
||||||
mkdir -p "$DESTDIR/usr/bin"
|
mkdir -p "$DESTDIR/usr/bin"
|
||||||
cp src/nyancat "$DESTDIR/usr/bin/"
|
cp -v src/nyancat "$DESTDIR/usr/bin/" || exit 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ post_install() {
|
|||||||
openssl rehash "$BANAN_SYSROOT/etc/cacert/extracted"
|
openssl rehash "$BANAN_SYSROOT/etc/cacert/extracted"
|
||||||
find "$BANAN_SYSROOT/etc/cacert/extracted" -type l -print0 |
|
find "$BANAN_SYSROOT/etc/cacert/extracted" -type l -print0 |
|
||||||
while IFS= read -r -d '' link; do
|
while IFS= read -r -d '' link; do
|
||||||
ln -s "../../cacert/extracted/$(readlink "$link")" "$DESTDIR/etc/ssl/certs/${link##*/}"
|
ln -sf "../../cacert/extracted/$(readlink "$link")" "$DESTDIR/etc/ssl/certs/${link##*/}"
|
||||||
rm "$link"
|
rm "$link"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,5 +18,5 @@ CONFIGURE_OPTIONS=(
|
|||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
mkdir -p "$DESTDIR/usr/bin"
|
mkdir -p "$DESTDIR/usr/bin"
|
||||||
ln -sf python3 "$DESTDIR/usr/bin/python"
|
ln -svf python3 "$DESTDIR/usr/bin/python" || exit 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,5 +20,5 @@ build() {
|
|||||||
|
|
||||||
install() {
|
install() {
|
||||||
DESTDIR="$DESTDIR" cmake --install build || exit 1
|
DESTDIR="$DESTDIR" cmake --install build || exit 1
|
||||||
ln -s sdl12_compat.pc "$DESTDIR"/usr/lib/pkgconfig/sdl.pc || exit 1
|
ln -svf sdl12_compat.pc "$DESTDIR"/usr/lib/pkgconfig/sdl.pc || exit 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,5 +20,5 @@ build() {
|
|||||||
|
|
||||||
install() {
|
install() {
|
||||||
DESTDIR="$DESTDIR" cmake --install build || exit 1
|
DESTDIR="$DESTDIR" cmake --install build || exit 1
|
||||||
ln -sf sdl2-compat.pc "$DESTDIR"/usr/lib/pkgconfig/sdl2.pc || exit 1
|
ln -svf sdl2-compat.pc "$DESTDIR"/usr/lib/pkgconfig/sdl2.pc || exit 1
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -26,5 +26,6 @@ configure() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
ln -sf $tcc_arch-tcc $DESTDIR/usr/bin/tcc
|
mkdir -p "$DESTDIR/usr/bin"
|
||||||
|
ln -svf $tcc_arch-tcc "$DESTDIR/usr/bin/tcc"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,5 +15,6 @@ build() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
|
mkdir -p "$DESTDIR/usr/bin/"
|
||||||
cp -v tinygb "$DESTDIR/usr/bin/" || exit 1
|
cp -v tinygb "$DESTDIR/usr/bin/" || exit 1
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,3 +5,6 @@ VERSION='1.1.1'
|
|||||||
DOWNLOAD_URL="https://www.x.org/releases/individual/app/xclock-$VERSION.tar.xz#df7ceabf8f07044a2fde4924d794554996811640a45de40cb12c2cf1f90f742c"
|
DOWNLOAD_URL="https://www.x.org/releases/individual/app/xclock-$VERSION.tar.xz#df7ceabf8f07044a2fde4924d794554996811640a45de40cb12c2cf1f90f742c"
|
||||||
DEPENDENCIES=('libXaw' 'libXmu' 'libX11' 'libXft' 'libxkbfile')
|
DEPENDENCIES=('libXaw' 'libXmu' 'libX11' 'libXft' 'libxkbfile')
|
||||||
CONFIG_SUB=('config.sub')
|
CONFIG_SUB=('config.sub')
|
||||||
|
CONFIGURE_OPTIONS=(
|
||||||
|
'--with-appdefaultdir=/usr/share/X11/app-defaults'
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user