Removed pinfo and wiringpi from base

This commit is contained in:
PktSurf 2023-03-31 07:44:45 +05:30
parent 753b517e1e
commit 4876381498
2 changed files with 0 additions and 83 deletions

View file

@ -1,32 +0,0 @@
app=pinfo
version=0.6.8
build=1sml
homepage="http://pinfo.sourceforge.net/"
download="http://pinfo.sourceforge.net/pinfo-$version.tar.gz"
desc="Ncurses-based lynx-styled info and document viewer"
requires="netbsd-curses"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--mandir=/share/man \
--disable-nls
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
4a0c41e8724a24323e2b069dabdfc757f4f041f67b2a15c41d75e26dbfe150dfac622bc0b764b542122d0c5979fdc452abf2056e89414f1d074900aeb41a1f82 pinfo-0.6.8.tar.lz
"

View file

@ -1,51 +0,0 @@
app=wiringpi
version=2.60
build=1sml
homepage="http://wiringpi.com"
desc="Utility for communicating with GPIO pins on the raspberry pi"
requires="musl"
build() {
compileonlyfor aarch64
mkandenterbuilddir
rm -rf $app-4B
tar xf $srcdir/$app-4B.tar.?z*
cd $app-4B
fixbuilddirpermissions
make -C wiringPi \
CFLAGS="$CFLAGS -fpic -I." LDFLAGS="$LDFLAGS" \
WIRINGPI_SONAME_SUFFIX=".$version"
ln -sf libwiringPi.so.$version wiringPi/libwiringPi.so
make -C devLib \
CFLAGS="$CFLAGS -fpic -I../wiringPi" LDFLAGS="$LDFLAGS" \
WIRINGPI_SONAME_SUFFIX=".$version"
ln -sf libwiringPiDev.so.$version devLib/libwiringPiDev.so
make -C gpio \
CFLAGS="$CFLAGS -I../wiringPi -I../devLib" \
LDFLAGS="$LDFLAGS -L../wiringPi -L../devLib"
# Final packaging.
mkdir $pkg/include
cp wiringPi/*.h devLib/*.h $pkg/include
install -Dm 755 gpio/gpio $pkg/bin/gpio
install -Dm 755 wiringPi/libwiringPi.so."$version" \
$pkg/lib/libwiringPi.so."$version"
install -Dm 755 devLib/libwiringPiDev.so."$version" \
$pkg/lib/libwiringPiDev.so."$version"
( cd $pkg/lib ; ln -s libwiringPi.so."$version" libwiringPi.so )
( cd $pkg/lib ; ln -s libwiringPiDev.so."$version" libwiringPiDev.so )
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
a8ee6dc60a32c71f8b9db6ad294ae9affa7f5c99cd546919b8b2b1992f37891a2fb59482cec6ec5afd80b5873c018012245729111bdd43e2c26d61765d570c5c wiringpi-4B.tar.xz
"