libxcrypt
This commit is contained in:
1 parent
88ab62a1c7
commit
501d41ecce
2 files changed
+49
-1
No files matched your search
@@ -8,7 +8,7 @@ email='aliriza.keskin@pardus.org.tr'
|
|||||||
maintainer='aliriza'
|
maintainer='aliriza'
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=('https://www.cpan.org/src/5.0/perl-5.36.0.tar.gz')
|
source=('https://www.cpan.org/src/5.0/perl-5.36.0.tar.gz')
|
||||||
depends=(gdbm)
|
depends=(gdbm libxcrypt libnsl)
|
||||||
makedepends=( )
|
makedepends=( )
|
||||||
md5sums=('68a2683bb79979c26ec57876abb7f303')
|
md5sums=('68a2683bb79979c26ec57876abb7f303')
|
||||||
uses=()
|
uses=()
|
||||||
|
|||||||
@@ -0,0 +1,48 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='libxcrypt'
|
||||||
|
release='1'
|
||||||
|
version='4.4.33'
|
||||||
|
url='https://example.org'
|
||||||
|
description='Modern library for one-way hashing of passwords'
|
||||||
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
|
maintainer='aliriza'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=('https://github.com/besser82/libxcrypt/releases/download/v4.4.33/libxcrypt-4.4.33.tar.xz')
|
||||||
|
depends=( )
|
||||||
|
makedepends=( )
|
||||||
|
md5sums=('d83b7bb334c4daf4e64a253b78f320da')
|
||||||
|
uses=()
|
||||||
|
group=(sys.libs)
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
prepare(){
|
||||||
|
cp -rf ../$name-$version ../$name-compat
|
||||||
|
}
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64 \
|
||||||
|
--enable-hashes=strong,glibc \
|
||||||
|
--enable-obsolete-api=glibc
|
||||||
|
cd ../$name-compat
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64 \
|
||||||
|
--enable-hashes=strong,glibc \
|
||||||
|
--enable-obsolete-api=no
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
cd ../$name-compat
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
cd ../$name-compat
|
||||||
|
make install -j`nproc`
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user