Mercurial > hg > sonic-visualiser
comparison deploy/linux/deploy-deb.sh @ 864:d47aa2977d7a
Auto dependencies
author | Chris Cannam |
---|---|
date | Wed, 24 Sep 2014 12:15:58 +0100 |
parents | 129b679734d0 |
children | 8b63b44c3a91 |
comparison
equal
deleted
inserted
replaced
863:ac805901f02a | 864:d47aa2977d7a |
---|---|
44 cp "$program".desktop "$targetdir"/usr/share/applications/ | 44 cp "$program".desktop "$targetdir"/usr/share/applications/ |
45 cp README "$targetdir"/usr/share/doc/"$program"/ | 45 cp README "$targetdir"/usr/share/doc/"$program"/ |
46 | 46 |
47 perl -i -p -e "s/Architecture: .*/Architecture: $arch/" "$targetdir"/DEBIAN/control | 47 perl -i -p -e "s/Architecture: .*/Architecture: $arch/" "$targetdir"/DEBIAN/control |
48 | 48 |
49 deps=`bash "$depdir"/debian-dependencies.sh "$program"` | |
50 | |
51 perl -i -p -e "s/Depends: .*/$deps/" "$targetdir"/DEBIAN/control | |
52 | |
49 bash "$depdir"/fix-lintian-bits.sh "$targetdir" | 53 bash "$depdir"/fix-lintian-bits.sh "$targetdir" |
50 | 54 |
51 sudo dpkg-deb --build "$targetdir" && lintian "$targetdir".deb | 55 sudo dpkg-deb --build "$targetdir" && lintian "$targetdir".deb |
52 | 56 |