summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-17 12:29:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-17 12:29:14 +0000
commit91b4e71e779ad2fb135e831241ba9562d195f090 (patch)
tree6eef58291d1f56c9d62b50fe0acccc8bed6538e4
parent9cd36fcb4c530d0a7472491cafc87db69597b5d9 (diff)
downloadaports-91b4e71e779ad2fb135e831241ba9562d195f090.tar.bz2
aports-91b4e71e779ad2fb135e831241ba9562d195f090.tar.xz
testing/sisctrl: new aport
SiSCtrl is Display Control Panel for XFree86/X.org SiS driver http://www.winischhofer.net/linuxsisvga.shtml
-rw-r--r--testing/sisctrl/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/sisctrl/APKBUILD b/testing/sisctrl/APKBUILD
new file mode 100644
index 000000000..59fb485da
--- /dev/null
+++ b/testing/sisctrl/APKBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=sisctrl
+pkgver=0.0.20051202
+pkgrel=2
+pkgdesc="SiSCtrl is Display Control Panel for XFree86/X.org SiS driver"
+url="http://www.winischhofer.net/linuxsisvga.shtml"
+license="GPL"
+depends=
+makedepends="pkgconfig gtk+-dev libxxf86vm-dev libxrandr-dev libxinerama-dev
+ libxv-dev"
+subpackages="$pkgname-doc"
+source="http://www.winischhofer.net/sis/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --with-xv-path=/usr/lib \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make -j1 DESTDIR="$pkgdir" install
+
+ mkdir -p "$pkgdir"/usr/share/man/man1 \
+ "$pkgdir"/usr/share/pixmaps \
+ "$pkgdir"/usr/share/applications
+
+ install -m 644 sisctrl.1x "$pkgdir"/usr/share/man/man1/sisctrl.1
+ install -m 644 icons/32x32/sisctrl.xpm "$pkgdir"/usr/share/pixmaps
+ install -m 644 icons/16x16/sisctrl.png \
+ "$pkgdir"/usr/share/pixmaps/sisctrl_16x16.png
+ install -m 644 icons/32x32/sisctrl.png \
+ "$pkgdir"/usr/share/pixmaps/sisctrl_32x32.png
+ install -m 644 icons/48x48/sisctrl.png \
+ "$pkgdir"/usr/share/pixmaps/sisctrl_48x48.png
+ install -m 644 extra/sisctrl.desktop "$pkgdir"/usr/share/applications || return 1
+}
+md5sums="d9db755fe9fd40809b5c30d1ab286d62 sisctrl-0.0.20051202.tar.gz"