2021-06-03 04:59:01 +08:00
|
|
|
<package-info :package="package" instsize showsbu2></package-info>
|
2021-05-09 01:10:29 +08:00
|
|
|
|
|
|
|
<script>
|
|
|
|
new Vue({
|
|
|
|
el: '#main',
|
|
|
|
data: { package: {} },
|
|
|
|
mounted: function () {
|
|
|
|
this.getPackage('file');
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
getPackage: function(name) {
|
|
|
|
getPackage(name)
|
|
|
|
.then(response => this.package = response);
|
|
|
|
},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
|
|
|
|
## Настройка
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
./configure --prefix=/usr
|
|
|
|
```
|
|
|
|
|
2021-05-20 18:36:09 +08:00
|
|
|
### Значения параметров configure
|
2021-05-09 01:10:29 +08:00
|
|
|
|
|
|
|
|
|
|
|
## Сборка
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make
|
|
|
|
```
|
|
|
|
## Тестирование
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make check
|
|
|
|
```
|
|
|
|
|
|
|
|
## Установка
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make install
|
|
|
|
```
|
|
|
|
|
|
|
|
## Для multilib
|
|
|
|
|
|
|
|
### Очистка
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make distclean
|
|
|
|
```
|
|
|
|
|
|
|
|
### Настройка
|
|
|
|
|
|
|
|
```bash
|
|
|
|
CC="gcc -m32" ./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--host=i686-pc-linux-gnu
|
|
|
|
```
|
|
|
|
|
|
|
|
### Сборка
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make
|
|
|
|
```
|
|
|
|
|
|
|
|
### Установка
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make DESTDIR=$PWD/DESTDIR install
|
|
|
|
cp -Rv DESTDIR/usr/lib32/* /usr/lib32
|
|
|
|
rm -rf DESTDIR
|
|
|
|
```
|
|
|
|
|
|
|
|
## Установленные файлы
|
|
|
|
|
|
|
|
Программы: file
|
|
|
|
|
|
|
|
Библиотеки: libmagic.so
|