Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mstroh76 committed Mar 1, 2024
1 parent 6ac36e2 commit d0e2f8f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ if [ x$1 = "xdebian" ]; then
here=`pwd`
deb_destdir=${here}/debian-template/wiringPi
cd debian-template/wiringPi
ARCH=$(dpkg-architecture -qDEB_HOST_ARCH)
export ARCH=$(dpkg-architecture -qDEB_HOST_ARCH)
echo architecture $ARCH
envsubst < control_template > DEBIAN/control
rm -rf usr
cd $here/wiringPi
Expand All @@ -97,7 +98,7 @@ if [ x$1 = "xdebian" ]; then
make install-deb INCLUDE='-I../wiringPi -I../devLib' LDFLAGS=-L../debian-template/wiringPi/usr/lib DEB_DESTDIR=${deb_destdir}
cd $here/debian-template
fakeroot dpkg-deb --build wiringPi
dpkg-name wiringPi.deb
dpkg-name -o wiringPi.deb
exit
fi

Expand Down

0 comments on commit d0e2f8f

Please sign in to comment.