iglunix/extra/openpam/build.sh

29 lines
390 B
Bash
Raw Normal View History

2021-06-20 14:20:33 +00:00
pkgname=openpam
pkgver=20190224
fetch() {
curl "https://www.openpam.org/downloads/38" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--build=$TRIPLE \
--host=$TRIPLE
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}