Initial commit.

This commit is contained in:
mobian 2025-05-05 11:08:40 +01:00
parent 3a364ba046
commit 48bb24f32c
1 changed files with 39 additions and 0 deletions

39
020_atinout.sh Normal file
View File

@ -0,0 +1,39 @@
#!/bin/bash
# Exit on any error
set -e
# Install build dependencies
sudo apt-get update
sudo apt-get install -y checkinstall build-essential wget tar gzip
# Create temporary directory for building
WORKDIR=$(mktemp -d)
cd "$WORKDIR"
# Download and extract source
wget https://sourceforge.net/projects/atinout/files/latest/download -O atinout.tar.gz
tar xfz atinout.tar.gz
cd "$(ls -d */)"
# Modify Makefile to remove -Werror flag
sed -i 's/-Werror//g' Makefile
# Create package using checkinstall
sudo checkinstall --pkgname=atinout \
--pkgversion=$(date +%Y%m%d) \
--pkgrelease=1 \
--maintainer="your@email.com" \
--nodoc \
--strip=no \
--backup=no \
--reset-uids=yes \
--fstrans=no \
--default \
make install
# Clean up temporary files
cd ..
rm -rf "$WORKDIR"
echo "Package created successfully!"