瀏覽代碼

#192

pull/193/head
mstroh76 8 月之前
父節點
當前提交
6ac36e29d4
共有 2 個檔案被更改,包括 4 行新增2 行删除
  1. +3
    -1
      build
  2. +1
    -1
      debian-template/wiringPi/control_template

+ 3
- 1
build 查看文件

@@ -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}
@@ -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



debian-template/wiringPi/DEBIAN/control → debian-template/wiringPi/control_template 查看文件

@@ -2,7 +2,7 @@ Package: wiringpi
Version: 3.0
Section: libraries
Priority: optional
Architecture: armhf
Architecture: $ARCH
Depends: libc6
Maintainer: Grazer Computer Club - GC2 <wiringpi@gc2.at>
Uploaders: Grazer Computer Club - GC2 <wiringpi@gc2.at>

Loading…
取消
儲存