aboutsummaryrefslogtreecommitdiff
path: root/core/cpt
diff options
context:
space:
mode:
Diffstat (limited to 'core/cpt')
-rwxr-xr-xcore/cpt/build10
-rw-r--r--core/cpt/checksums4
-rw-r--r--core/cpt/depends3
-rw-r--r--core/cpt/files/cpt-base4
-rw-r--r--core/cpt/meta3
-rwxr-xr-xcore/cpt/post-install13
-rw-r--r--core/cpt/sources2
-rw-r--r--core/cpt/version2
8 files changed, 19 insertions, 22 deletions
diff --git a/core/cpt/build b/core/cpt/build
index c7e2ba43..6b2e4e0f 100755
--- a/core/cpt/build
+++ b/core/cpt/build
@@ -1,6 +1,10 @@
#!/bin/sh -e
-make PREFIX=/usr DESTDIR="$1" install
+./configure \
+ --prefix=/usr
-install -Dm644 cpt-base "$1/etc/cpt-base"
-install -Dm755 news "$1/usr/bin/cpt-news"
+make
+make DESTDIR="$1" install
+
+clinst -Dm644 cpt-base "$1/etc/cpt/base"
+clinst -Dm755 news "$1/usr/bin/cpt-news"
diff --git a/core/cpt/checksums b/core/cpt/checksums
index 68fe60f1..02b0b4ec 100644
--- a/core/cpt/checksums
+++ b/core/cpt/checksums
@@ -1,3 +1,3 @@
-f1cad55d87a30582f2f5274321b42ee54c7f466604466f0c8dc034e4c4ebded3 cpt-6.0.4.tar.xz
+69931e1e3068219a8afeb4dbc5a6ce6d24c39defb648a0efcaff0f8fe64f3e1f cpt-7.0.2.tar.xz
1f6d1470f254164898fc5a3ab5ddf1c57c873c3cfbfd0acb519a8f242265540a news
-4e0f656c4dd735a773f41a0a0fb3c81c6cc4427c49ceb9a051653b905c894a55 cpt-base
+ab1fe74142b1fb1339b4ede5c5a8bcf9f97b7d6c5abfb59a7094be0959210482 cpt-base
diff --git a/core/cpt/depends b/core/cpt/depends
index a615eba9..637fa0b3 100644
--- a/core/cpt/depends
+++ b/core/cpt/depends
@@ -1,2 +1,5 @@
+b3sum
+cl-utils
curl
+otools
rsync
diff --git a/core/cpt/files/cpt-base b/core/cpt/files/cpt-base
index 31504b4b..c2922e15 100644
--- a/core/cpt/files/cpt-base
+++ b/core/cpt/files/cpt-base
@@ -12,11 +12,11 @@ flex
gcc
git
rsync
-gzip
+pigz
+otools
cpt
libressl
linux-headers
-m4
make
musl
pkgconf
diff --git a/core/cpt/meta b/core/cpt/meta
new file mode 100644
index 00000000..12ed1da0
--- /dev/null
+++ b/core/cpt/meta
@@ -0,0 +1,3 @@
+description: Carbs Packaging Tools
+license: MIT
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/core/cpt/post-install b/core/cpt/post-install
deleted file mode 100755
index 7f98b4d9..00000000
--- a/core/cpt/post-install
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-grep -q '\.la$' "$CPT_ROOT/var/db/cpt/installed/"*/manifest || exit 0
-
-find "$CPT_ROOT/usr/lib" \
- ! -type d \
- -name '*.la' \
- -exec rm -f -- {} +
-
-find "$CPT_ROOT/var/db/cpt/installed" \
- ! -type d \
- -name manifest \
- -exec sed -i '/.*\.la$/d' {} +
diff --git a/core/cpt/sources b/core/cpt/sources
index 0c7d86e5..01785819 100644
--- a/core/cpt/sources
+++ b/core/cpt/sources
@@ -1,3 +1,3 @@
-https://fossil.carbslinux.org/cpt/uv/cpt-6.0.4.tar.xz
+https://fossil.carbslinux.org/cpt/uv/cpt-7.0.2.tar.xz
files/news
files/cpt-base
diff --git a/core/cpt/version b/core/cpt/version
index 17016fdc..e796a3f2 100644
--- a/core/cpt/version
+++ b/core/cpt/version
@@ -1 +1 @@
-6.0.4 1
+7.0.2 1