2021-05-05 19:43:10 +08:00
|
|
|
|
<package-info :package="package" showsbu></package-info>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
new Vue({
|
|
|
|
|
el: '#main',
|
|
|
|
|
data: { package: {} },
|
|
|
|
|
mounted: function () {
|
|
|
|
|
this.getPackage('file');
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getPackage: function(name) {
|
|
|
|
|
getPackage(name)
|
|
|
|
|
.then(response => this.package = response);
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
## Подготовка
|
|
|
|
|
|
2021-07-03 14:19:20 +08:00
|
|
|
|
На хост-системе должна присутствовать утилита {{package.name}}. Вы можете также собрать её следующим образом:
|
2021-05-05 19:43:10 +08:00
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
mkdir build
|
|
|
|
|
pushd build
|
|
|
|
|
../configure --disable-bzlib \
|
|
|
|
|
--disable-libseccomp \
|
|
|
|
|
--disable-xzlib \
|
|
|
|
|
--disable-zlib
|
|
|
|
|
make
|
|
|
|
|
popd
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Настройка
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
./configure --prefix=/usr --host=$LIN_TGT --build=$(./config.guess)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Сборка
|
|
|
|
|
|
|
|
|
|
```bash
|
2021-05-05 21:06:22 +08:00
|
|
|
|
make FILE_COMPILE=$(pwd)/build/src/file
|
2021-05-05 19:43:10 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Установка
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
make DESTDIR=$LIN install
|
|
|
|
|
```
|