summaryrefslogtreecommitdiffstats
path: root/base/libixp/Pkgfile
diff options
context:
space:
mode:
authorsibelle <lesibel@free.fr>2010-02-07 07:53:27 +0100
committersibelle <lesibel@free.fr>2010-02-07 07:53:27 +0100
commit8bd84b0edf380f00244be29090ce68f8b34456cc (patch)
treefba27cbe07e4774fcdd6443dead12a468d004c0e /base/libixp/Pkgfile
parent53bff858c3ef02bf7ba9ee0e247488fc54f7c42e (diff)
parent5bd127c0743239bc774481e4a7b947719c984f5d (diff)
downloadnutyx-pakxe-8bd84b0edf380f00244be29090ce68f8b34456cc.tar.gz
nutyx-pakxe-8bd84b0edf380f00244be29090ce68f8b34456cc.tar.bz2
nutyx-pakxe-8bd84b0edf380f00244be29090ce68f8b34456cc.tar.xz
nutyx-pakxe-8bd84b0edf380f00244be29090ce68f8b34456cc.zip
Merge remote branch 'nutyx-2009/master'
Diffstat (limited to 'base/libixp/Pkgfile')
-rwxr-xr-xbase/libixp/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/base/libixp/Pkgfile b/base/libixp/Pkgfile
new file mode 100755
index 000000000..eae1577d4
--- /dev/null
+++ b/base/libixp/Pkgfile
@@ -0,0 +1,27 @@
+# Description:A standalone client/server 9p library
+# URL:http://www.suckless.org/libs/libixp.html
+# Maintainer: NuTyX packager team
+# Packager: lesibel at free dot fr
+
+name=libixp
+version=0.5
+release=1
+source=(http://code.suckless.org/dl/libs/$name-$version.tar.gz)
+build() {
+ cd $name-$version
+ sed -i \
+ -e "/^PREFIX/s|=.*|= $PKG/pkg/usr|" \
+ -e "/^ ETC/s|=.*|= $PKG}/pkg/etc|" \
+ -e "/^CFLAGS/s|=|+=|" \
+ -e "/^LDFLAGS/s|=|+=|" \
+ config.mk || return 1
+
+ make || return 1
+ make DESTDIR=$PKG install || return 1
+
+ install -m644 -D ./libixp/LICENSE \
+ $PKG/usr/share/licenses/libixp/LICENSE
+
+}
+
+