mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-01-25 07:42:19 +08:00
39 lines
644 B
Markdown
39 lines
644 B
Markdown
<package-info :package="package" showsbu2></package-info>
|
|
|
|
<script>
|
|
new Vue({
|
|
el: '#main',
|
|
data: { package: {} },
|
|
mounted: function () {
|
|
this.getPackage('less');
|
|
},
|
|
methods: {
|
|
getPackage: function(name) {
|
|
getPackage(name)
|
|
.then(response => this.package = response);
|
|
},
|
|
}
|
|
})
|
|
</script>
|
|
|
|
## Настройка
|
|
|
|
```bash
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
```
|
|
|
|
### Значения параметров configure
|
|
`--sysconfdir=/etc` - настроить путь `/etc` для хранения конфигурации.
|
|
|
|
## Сборка
|
|
|
|
```bash
|
|
make
|
|
```
|
|
|
|
## Установка
|
|
|
|
```bash
|
|
make install
|
|
```
|