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