2021-05-03 23:37:18 +08:00
|
|
|
<package-info :package="package" showsbu></package-info>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
new Vue({
|
|
|
|
el: '#main',
|
|
|
|
data: { package: {} },
|
|
|
|
mounted: function () {
|
|
|
|
this.getPackage('coreutils');
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
getPackage: function(name) {
|
|
|
|
getPackage(name)
|
|
|
|
.then(response => this.package = response);
|
|
|
|
},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
|
|
|
|
## Настройка
|
|
|
|
|
|
|
|
Запустите скрипт `configure`:
|
|
|
|
|
|
|
|
```bash
|
2021-06-28 12:21:07 +08:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--host=$LIN_TGT \
|
|
|
|
--build=$(build-aux/config.guess) \
|
|
|
|
--enable-install-program=hostname \
|
2021-05-03 23:37:18 +08:00
|
|
|
--enable-no-install-program=kill,uptime \
|
2021-06-26 20:02:42 +08:00
|
|
|
--disable-nls
|
2021-05-03 23:37:18 +08:00
|
|
|
```
|
|
|
|
|
2021-06-10 21:28:16 +08:00
|
|
|
### Значения параметров
|
2021-05-03 23:37:18 +08:00
|
|
|
|
|
|
|
` --enable-install-program=hostname` - Включает установку программы `hostname`, нужной некоторым пакетам.
|
|
|
|
|
|
|
|
`--enable-no-install-program=kill,uptime` - Программы `kill` и `uptime` предоставляются другими пакетами.
|
|
|
|
|
|
|
|
## Сборка
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make
|
|
|
|
```
|
|
|
|
|
|
|
|
## Установка
|
2021-06-26 20:02:42 +08:00
|
|
|
|
2021-05-03 23:37:18 +08:00
|
|
|
```bash
|
|
|
|
make DESTDIR=$LIN install
|
|
|
|
```
|