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 2af87b2 commit 6ac36e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +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)
envsubst < control_template > DEBIAN/control
rm -rf usr
cd $here/wiringPi
make install-deb DEB_DESTDIR=${deb_destdir}
Expand All @@ -95,7 +97,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
mv wiringPi.deb wiringpi-`cat $here/VERSION`-1.deb
dpkg-name wiringPi.deb
exit
fi

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: wiringpi
Version: 3.0
Section: libraries
Priority: optional
Architecture: armhf
Architecture: $ARCH
Depends: libc6
Maintainer: Grazer Computer Club - GC2 <[email protected]>
Uploaders: Grazer Computer Club - GC2 <[email protected]>
Expand Down

0 comments on commit 6ac36e2

Please sign in to comment.