mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
main/libsexy: modernise, fix license, mark no tests
This commit is contained in:
parent
031e053912
commit
a56f34a2f9
@ -1,36 +1,35 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=libsexy
|
||||
pkgver=0.1.11
|
||||
pkgrel=7
|
||||
pkgrel=8
|
||||
pkgdesc="Doing naughty things to good widgets."
|
||||
url="http://chipx86.com/wiki/Libsexy"
|
||||
arch="all"
|
||||
license="GPL"
|
||||
options="!check" # Tests require manual intervention and X11 display.
|
||||
license="LGPL-2.0+"
|
||||
subpackages="$pkgname-dev $pkgname-doc"
|
||||
makedepends="gtk+2.0-dev libxml2-dev iso-codes-dev"
|
||||
source="http://releases.chipx86.com/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz"
|
||||
|
||||
_builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
prepare() {
|
||||
cd "$_builddir"
|
||||
update_config_sub || return 1
|
||||
cd "$builddir"
|
||||
update_config_sub
|
||||
default_prepare
|
||||
}
|
||||
|
||||
build ()
|
||||
{
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--disable-static \
|
||||
|| return 1
|
||||
make || return 1
|
||||
--disable-static
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
rm -f "$pkgdir"/usr/lib/libsexy.a
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user