new: lfs/libxcrypt-4.4.36
This commit is contained in:
parent
b91bea68b9
commit
4e6791ce44
30
lfs/libxcrypt-4.4.36.PKGBUILD
Normal file
30
lfs/libxcrypt-4.4.36.PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
pkgname=libxcrypt
|
||||
pkgver=4.4.36
|
||||
pkgdesc='Modern library for one-way hashing of passwords'
|
||||
homepage='https://github.com/besser82/libxcrypt/'
|
||||
license=('LGPL')
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("${homepage}/releases/download/v${pkgver}/${sources[0]}")
|
||||
md5sums=("b84cd4104e08c975063ec6c4d0372446")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=no \
|
||||
--disable-static \
|
||||
--disable-failure-tokens
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
32
lfs/libxcrypt-compat-4.4.36.PKGBUILD
Normal file
32
lfs/libxcrypt-compat-4.4.36.PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
pkgname=libxcrypt-compat
|
||||
_pkgbase=libxcrypt
|
||||
pkgver=4.4.36
|
||||
pkgdesc='Modern library for one-way hashing of passwords - legacy API functions'
|
||||
homepage='https://github.com/besser82/libxcrypt/'
|
||||
license=('LGPL')
|
||||
sources=("${_pkgbase}-${pkgver}.tar.xz")
|
||||
urls=("${homepage}/releases/download/v${pkgver}/${sources[0]}")
|
||||
md5sums=("b84cd4104e08c975063ec6c4d0372446")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=glibc \
|
||||
--disable-static \
|
||||
--disable-failure-tokens
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
rm -rf "${pkgdir}"/usr/{include,lib/{lib*.so,pkgconfig},share}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user