mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
community/potrace: moved from testing
This commit is contained in:
parent
48e4e4128c
commit
da39f565fd
@ -14,19 +14,10 @@ install=""
|
||||
subpackages="$pkgname-dev $pkgname-doc"
|
||||
source="http://potrace.sourceforge.net/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"
|
||||
|
||||
_builddir="${srcdir}"/${pkgname}-${pkgver}
|
||||
prepare() {
|
||||
local i
|
||||
cd "$_builddir"
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
builddir="${srcdir}"/${pkgname}-${pkgver}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
@ -38,7 +29,7 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user