New package: gnulib-20220829~828413b

This commit is contained in:
Đoàn Trần Công Danh 2022-12-18 17:01:14 +07:00 committed by Đoàn Trần Công Danh
parent 4bc8653603
commit 3995595e9d
2 changed files with 44 additions and 0 deletions

1
srcpkgs/git-merge-changelog Symbolic link
View File

@ -0,0 +1 @@
gnulib

43
srcpkgs/gnulib/template Normal file
View File

@ -0,0 +1,43 @@
# Template file for 'gnulib'
pkgname=gnulib
version=20220829~828413b
revision=1
create_wrksrc=yes
build_style=gnu-configure
hostmakedepends="automake"
short_desc="Gnulib - The GNU Portability Library"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="LGPL-2.1-or-later, GPL-2.0-or-later, FSFULLR"
homepage="https://www.gnu.org/software/gnulib/"
distfiles="${DEBIAN_SITE}/main/g/gnulib/gnulib_${version}.orig.tar.gz"
checksum=8bf9ac42ebc7d6ec1afc9d50bfe823a212b06f0d40e738b0e9e468be60a858fe
post_extract() {
mv gnulib-* gnulib
chmod -R +w gnulib
chmod -R a+r gnulib
}
do_configure() {
rm -rf build
./gnulib/gnulib-tool --create-testdir --with-tests -S \
--dir=build git-merge-changelog
cd build
./configure ${configure_args}
}
do_build() {
make -C build ${makejobs}
}
do_install() {
vmkdir usr/share
vcopy gnulib /usr/share
}
git-merge-changelog_package() {
short_desc="GNU-style ChangeLog merge driver"
pkg_install() {
make -C build DESTDIR=${PKGDESTDIR} install
}
}