Lx4U-book/docs/build-temp-system/tar.md

41 lines
908 B
Markdown
Raw Permalink Normal View History

2021-05-05 20:14:56 +08:00
<package-info :package="package" showsbu></package-info>
2021-05-05 20:14:56 +08:00
<script>
new Vue({
el: '#main',
data: { package: {} },
mounted: function () {
this.getPackage('tar');
},
methods: {
getPackage: function(name) {
getPackage(name)
.then(response => this.package = response);
},
}
})
</script>
## Настройка
2021-05-06 18:00:06 +08:00
```bash
2021-05-05 20:14:56 +08:00
./configure --prefix=/usr \
--host=$LIN_TGT \
--build=$(build-aux/config.guess) \
--disable-nls --disable-acl \
--bindir=/bin
2021-05-05 20:14:56 +08:00
```
2021-05-07 04:08:17 +08:00
## Сборка
2021-05-06 18:00:06 +08:00
```bash
2021-05-05 20:14:56 +08:00
make
```
## Установка
2021-05-06 18:00:06 +08:00
```bash
2021-05-05 20:14:56 +08:00
make DESTDIR=$LIN install
2021-05-05 20:27:13 +08:00
```