mid-kid
6 years ago
6 changed files with 45 additions and 23 deletions
@ -1,11 +0,0 @@ |
|||
name=kicad |
|||
version=4.0.7 |
|||
|
|||
dlextract "http://downloads.kicad-pcb.org/libraries/$name-footprints-$version.tar.gz" \ |
|||
'280b065c34ca9ea225772893e84c65cc' |
|||
_ |
|||
|
|||
mkdir -p "$dir_install/$dir_prefix/$dir_data/kicad" |
|||
cp -aT "$name-footprints-$version" "$dir_install/$dir_prefix/$dir_data/kicad/footprints" |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: |
@ -1,13 +1,24 @@ |
|||
import 'compile/cmake' |
|||
|
|||
name=kicad |
|||
version=4.0.7 |
|||
version=5.0.0 |
|||
|
|||
dlextract "http://downloads.kicad-pcb.org/libraries/$name-library-$version.tar.gz" \ |
|||
'b8517ed459d1f9d73a85b0a79691df29' |
|||
dlextract "https://github.com/KiCad/$name-symbols/archive/$version/$name-symbols-$version.tar.gz" \ |
|||
'03cb33312062571118a277bafd01c06d' |
|||
dlextract "https://github.com/KiCad/$name-footprints/archive/$version/$name-footprints-$version.tar.gz" \ |
|||
'e8ce40c47b108280d7878f858899ab10' |
|||
dlextract "https://github.com/KiCad/$name-packages3D/archive/$version/$name-packages3D-$version.tar.gz" \ |
|||
'aac66499bbbd9f21ad3e90af7ba854d2' |
|||
_ |
|||
|
|||
cd "$name-library-$version" |
|||
( cd "$name-symbols-$version" |
|||
compile_cmake |
|||
) |
|||
( cd "$name-footprints-$version" |
|||
compile_cmake |
|||
) |
|||
( cd "$name-packages3D-$version" |
|||
compile_cmake |
|||
) |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: |
|||
|
@ -1,14 +1,18 @@ |
|||
import 'compile/cmake' |
|||
|
|||
name=kicad |
|||
majver=4.0 |
|||
version=$majver.7 |
|||
majver=5.0 |
|||
version=$majver.0 |
|||
|
|||
dlextract "https://launchpad.net/$name/$majver/$version/+download/$name-$version.tar.xz" \ |
|||
'af3ee2e40c25f1c01b92cd27c1a1b180' |
|||
'99a39910a3f7d8320b605bb9a9ff3af8' |
|||
_ |
|||
|
|||
cd "$name-$version" |
|||
compile_cmake -- -DKICAD_SKIP_BOOST=ON |
|||
compile_cmake -- \ |
|||
-DKICAD_USE_OCE=OFF \ |
|||
-DKICAD_SCRIPTING_WXPYTHON=OFF |
|||
# Disabled WxPython until Phoenix is supported... |
|||
# It's not worth it to downgrade WxWidgets just to be able use non-existing scripts for an old library on a now unsupported version of python. |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: |
|||
|
@ -0,0 +1,18 @@ |
|||
import 'compile/configure' |
|||
|
|||
name=ngspice |
|||
version=28 |
|||
|
|||
dlextract "https://sourceforge.net/projects/ngspice/files/ng-spice-rework/$version/$name-$version.tar.gz" \ |
|||
'5ee9c0a5f52d69ae20b8ef9b46608769' |
|||
_ |
|||
|
|||
cd "$name-$version" |
|||
compile_configure -- \ |
|||
--with-readline=yes \ |
|||
--with-ngshared \ |
|||
--enable-xspice \ |
|||
--enable-cider \ |
|||
--enable-openmp |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: |
Loading…
Reference in new issue