30 lines
751 B
Bash
30 lines
751 B
Bash
# Template file for 'potrace'
|
|
pkgname=potrace
|
|
version=1.12
|
|
revision=1
|
|
build_style=gnu-configure
|
|
makedepends="zlib-devel"
|
|
configure_args="--with-libpotrace"
|
|
short_desc="Transforming bitmaps into vector graphics"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://potrace.sourceforge.net"
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
|
checksum=b0bbf1d7badbebfcb992280f038936281b47ddbae212e8ae91e863ce0b76173b
|
|
|
|
libpotrace_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
potrace-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libpotrace>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|