iglunix/gui/libpng/build.sh

34 lines
485 B
Bash
Raw Normal View History

2021-07-31 11:55:49 +00:00
pkgname=libpng
pkgver=1.6.37
fetch() {
curl -L "https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
2021-12-26 12:40:14 +00:00
--with-zlib-prefix=/usr \
2021-07-31 11:55:49 +00:00
--build=$TRIPLE \
--host=$TRIPLE
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
}
2021-12-26 12:40:14 +00:00
backup() {
return
}
2021-07-31 11:55:49 +00:00
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}