summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xextra/libixp/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/libixp/Pkgfile b/extra/libixp/Pkgfile
new file mode 100755
index 000000000..275b80cce
--- /dev/null
+++ b/extra/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
+# Depends on: dep1, dep2, dep3
+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
+
+}
+
+