Merge pull request #349 from Linux4Yourself/gawk

gawk #321
This commit is contained in:
Anton 2021-05-20 20:06:24 +03:00 committed by GitHub
commit ff870ab5b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 56 additions and 0 deletions

View File

@ -112,6 +112,7 @@
- [Coreutils](build-system/coreutils)
- [Check](build-system/check)
- [Diffutils](build-system/diffutils)
- [Gawk](build-system/gawk)
- [**Выбор системы инициализации**](build-system/init-system)
- **SysVinit**

55
docs/build-system/gawk.md Normal file
View File

@ -0,0 +1,55 @@
<package-info :package="package" showsbu2></package-info>
<script>
new Vue({
el: '#main',
data: { package: {} },
mounted: function () {
this.getPackage('gawk');
},
methods: {
getPackage: function(name) {
getPackage(name)
.then(response => this.package = response);
},
}
})
</script>
## Подготовка
Следует убедиться, что ненужные файлы не будут установлены
```bash
sed -i 's/extras//' Makefile.in
```
## Настройка
```bash
./configure --prefix=/usr
```
## Сборка
```bash
make
```
## Тестирование
```bash
make check
```
## Установка
```bash
make install
```
## Установка документации
```bash
mkdir -v /usr/share/doc/gawk
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk
```