summaryrefslogtreecommitdiffstats
path: root/base/libixp/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-06 23:22:45 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-06 23:22:45 +0100
commit3c4677f7a97f9290c091293d128574dd738e0b6b (patch)
tree20a154970e77beaac993983057ea8e3a762e766e /base/libixp/Pkgfile
parenta2dfab7847a72b491d7d929713bdb303f1c6e067 (diff)
downloadnutyx-pakxe-3c4677f7a97f9290c091293d128574dd738e0b6b.tar.gz
nutyx-pakxe-3c4677f7a97f9290c091293d128574dd738e0b6b.tar.bz2
nutyx-pakxe-3c4677f7a97f9290c091293d128574dd738e0b6b.tar.xz
nutyx-pakxe-3c4677f7a97f9290c091293d128574dd738e0b6b.zip
libixp, déplacé dans base
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
+
+}
+
+