added graphics magick
This commit is contained in:
parent
50835c75ce
commit
a675f81f88
1 changed files with 39 additions and 0 deletions
39
pkgs/graphicsmagick/build.sh
Normal file
39
pkgs/graphicsmagick/build.sh
Normal file
|
@ -0,0 +1,39 @@
|
|||
pkgname=graphicsmagick
|
||||
pkgver=1.3.36
|
||||
|
||||
fetch() {
|
||||
curl "http://ftp.icm.edu.pl/pub/unix/graphics/GraphicsMagick/GraphicsMagick-LATEST.tar.zst" -o $pkgname-$pkgver.tar.zst
|
||||
tar -I zstd -xf $pkgname-$pkgver.tar.zst
|
||||
mv GraphicsMagick-$pkgver $pkgname-$pkgver
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--build=$TRIPLE \
|
||||
--host=$TRIPLE
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make install DESTDIR=$pkgdir
|
||||
ln -sr $pkgdir/usr/bin/gm $pkgdir/usr/bin/animate
|
||||
ln -sr $pkgdir/usr/bin/gm $pkgdir/usr/bin/compare
|
||||
ln -sr $pkgdir/usr/bin/gm $pkgdir/usr/bin/composite
|
||||
ln -sr $pkgdir/usr/bin/gm $pkgdir/usr/bin/conjure
|
||||
ln -sr $pkgdir/usr/bin/gm $pkgdir/usr/bin/convert
|
||||
ln -sr $pkgdir/usr/bin/gm $pkgdir/usr/bin/display
|
||||
ln -sr $pkgdir/usr/bin/gm $pkgdir/usr/bin/identify
|
||||
ln -sr $pkgdir/usr/bin/gm $pkgdir/usr/bin/import
|
||||
ln -sr $pkgdir/usr/bin/gm $pkgdir/usr/bin/mogrify
|
||||
ln -sr $pkgdir/usr/bin/gm $pkgdir/usr/bin/montage
|
||||
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat Copyright.txt
|
||||
}
|
Loading…
Reference in a new issue