2021-01-31 11:09:14 +00:00
|
|
|
pkgname=linux-pam
|
|
|
|
pkgver=1.5.1
|
|
|
|
|
|
|
|
fetch() {
|
|
|
|
curl -L "https://github.com/linux-pam/linux-pam/releases/download/v1.5.1/Linux-PAM-1.5.1.tar.xz" -o $pkgname-$pkgver.tar.xz
|
|
|
|
tar -xf $pkgname-$pkgver.tar.xz
|
|
|
|
mv Linux-PAM-$pkgver $pkgname-$pkgver
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--build=x86_64-unknown-linux-musl \
|
|
|
|
--host=x86_64-unknown-linux-musl \
|
|
|
|
--libdir=/usr/lib \
|
|
|
|
--sbindir=/usr/sbin
|
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make install DESTDIR=$pkgdir
|
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cd $pkgname-$pkgver
|
2021-02-14 20:12:49 +00:00
|
|
|
cat COPYING
|
2021-01-31 11:09:14 +00:00
|
|
|
}
|