mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-02-03 23:47:16 +08:00
47 lines
738 B
Markdown
47 lines
738 B
Markdown
<package-info :package="package" showsbu2></package-info>
|
|
|
|
<script>
|
|
new Vue({
|
|
el: '#main',
|
|
data: { package: {} },
|
|
mounted: function () {
|
|
this.getPackage('expect');
|
|
},
|
|
methods: {
|
|
getPackage: function(name) {
|
|
getPackage(name)
|
|
.then(response => this.package = response);
|
|
},
|
|
}
|
|
})
|
|
</script>
|
|
|
|
## Настройка
|
|
|
|
```bash
|
|
./configure --prefix=/usr \
|
|
--with-tcl=/usr/lib \
|
|
--enable-shared \
|
|
--mandir=/usr/share/man \
|
|
--with-tclinclude=/usr/include
|
|
```
|
|
|
|
## Сборка
|
|
|
|
|
|
```bash
|
|
make
|
|
```
|
|
## Тестирование
|
|
|
|
```bash
|
|
make test
|
|
```
|
|
|
|
## Установка
|
|
|
|
```bash
|
|
make install
|
|
ln -svf expect5.45.4/libexpect5.45.4.so /usr/lib
|
|
```
|