2022-02-18 17:40:09 -05:00
|
|
|
# Description: converts files between various character sets and usages
|
2022-02-05 15:39:19 -05:00
|
|
|
# URL: https://github.com/rrthomas/recode
|
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2023-01-14 21:15:30 -05:00
|
|
|
# Depends on: help2man
|
2022-02-05 15:39:19 -05:00
|
|
|
|
|
|
|
name=recode
|
2023-01-14 21:15:30 -05:00
|
|
|
version=3.7.13
|
2022-02-05 15:39:19 -05:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/rrthomas/recode/releases/download/v${version}/${name}-${version}.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-nls
|
2023-01-14 21:15:30 -05:00
|
|
|
# contrib/help2man is built without locale support, so we do:
|
2023-01-17 06:50:28 -05:00
|
|
|
sed -i '/HELP2MAN/s/--locale=.*/\\/' src/Makefile
|
2023-01-14 21:15:30 -05:00
|
|
|
|
2022-02-05 15:39:19 -05:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/lib/*.la
|
|
|
|
rm -rf $PKG/usr/share/info
|
|
|
|
}
|